Module Name: src Committed By: joerg Date: Sat Sep 14 13:15:53 UTC 2013
Modified Files: src/sys/dev/usb: udl.c Log Message: Conditionalize udl_draw_line_comp and udl_cmp_add_buf_comp To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/usb/udl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/udl.c diff -u src/sys/dev/usb/udl.c:1.8 src/sys/dev/usb/udl.c:1.9 --- src/sys/dev/usb/udl.c:1.8 Mon Jan 14 18:24:05 2013 +++ src/sys/dev/usb/udl.c Sat Sep 14 13:15:53 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: udl.c,v 1.8 2013/01/14 18:24:05 christos Exp $ */ +/* $NetBSD: udl.c,v 1.9 2013/09/14 13:15:53 joerg Exp $ */ /*- * Copyright (c) 2009 FUKAUMI Naoki. @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.8 2013/01/14 18:24:05 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.9 2013/09/14 13:15:53 joerg Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -151,8 +151,10 @@ static inline void udl_copy_line(struct static inline void udl_fill_line(struct udl_softc *, uint16_t, int, int); static inline void udl_draw_line(struct udl_softc *, uint16_t *, int, int); +#ifdef notyet static inline void udl_draw_line_comp(struct udl_softc *, uint16_t *, int, int); +#endif static int udl_cmd_send(struct udl_softc *); static void udl_cmd_send_async(struct udl_softc *); @@ -1300,6 +1302,7 @@ udl_draw_line(struct udl_softc *sc, uint udl_cmd_add_buf(sc, buf, width); } +#ifdef notyet static inline int udl_cmd_add_buf_comp(struct udl_softc *sc, uint16_t *buf, int width) { @@ -1409,6 +1412,7 @@ udl_draw_line_comp(struct udl_softc *sc, width -= width_cur; } } +#endif static int udl_cmd_send(struct udl_softc *sc)