[dahdi-commits] fjoe: freebsd/trunk r7800 - in /freebsd/trunk/drivers/dahdi: wcb4xxp/ wct4xxp/

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Sat Jan 9 17:14:16 CST 2010


Author: fjoe
Date: Sat Jan  9 17:14:12 2010
New Revision: 7800

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7800
Log:
Mark device_rlprintf as __printflike function.

Modified:
    freebsd/trunk/drivers/dahdi/wcb4xxp/base.c
    freebsd/trunk/drivers/dahdi/wct4xxp/base.c

Modified: freebsd/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=7800&r1=7799&r2=7800
==============================================================================
--- freebsd/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ freebsd/trunk/drivers/dahdi/wcb4xxp/base.c Sat Jan  9 17:14:12 2010
@@ -204,7 +204,12 @@
  */
 
 #if defined(__FreeBSD__)
-static void device_rlprintf(int pps, device_t dev, const char *fmt, ...)
+static void
+device_rlprintf(int pps, device_t dev, const char *fmt, ...)
+	__printflike(3, 4);
+
+static void
+device_rlprintf(int pps, device_t dev, const char *fmt, ...)
 {
 	va_list ap;
 	static struct timeval last_printf;

Modified: freebsd/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=7800&r1=7799&r2=7800
==============================================================================
--- freebsd/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ freebsd/trunk/drivers/dahdi/wct4xxp/base.c Sat Jan  9 17:14:12 2010
@@ -63,7 +63,12 @@
 	return (dst);
 }
 
-static void device_rlprintf(int pps, device_t dev, const char *fmt, ...)
+static void
+device_rlprintf(int pps, device_t dev, const char *fmt, ...)
+	__printflike(3, 4);
+
+static void
+device_rlprintf(int pps, device_t dev, const char *fmt, ...)
 {
 	va_list ap;
 	static struct timeval last_printf;




More information about the dahdi-commits mailing list