On Wed, 9 Mar 2011 00:11:48 +0100 (CET) korli@xxxxxxxxxxxxxxxx wrote: > 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); should i reverse merge 40886? Also, are you going to rename all the printf's to freebsd_printf ? Thanks! -- Alex