[haiku-commits] r40887 - haiku/trunk/src/libs/compat/freebsd_network/compat/sys

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 9 Mar 2011 00:11:48 +0100 (CET)

Author: korli
Date: 2011-03-09 00:11:48 +0100 (Wed, 09 Mar 2011)
New Revision: 40887
Changeset: http://dev.haiku-os.org/changeset/40887

Modified:
   haiku/trunk/src/libs/compat/freebsd_network/compat/sys/systm.h
Log:
rename the printf function in the compat layer to avoid symbol clash with 
kernel printf (at least on gcc4)


Modified: haiku/trunk/src/libs/compat/freebsd_network/compat/sys/systm.h
===================================================================
--- haiku/trunk/src/libs/compat/freebsd_network/compat/sys/systm.h      
2011-03-08 22:38:16 UTC (rev 40886)
+++ haiku/trunk/src/libs/compat/freebsd_network/compat/sys/systm.h      
2011-03-08 23:11:48 UTC (rev 40887)
@@ -21,6 +21,7 @@
 #include <sys/libkern.h>
 
 
+#define printf freebsd_printf
 int printf(const char *format, ...) __printflike(1, 2);
 
 


Other related posts: