svn commit: samba r20590 - in branches/SAMBA_4_0/source/heimdal_build: .

jpeach at samba.org jpeach at samba.org
Sun Jan 7 00:44:18 GMT 2007


Author: jpeach
Date: 2007-01-07 00:44:17 +0000 (Sun, 07 Jan 2007)
New Revision: 20590

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20590

Log:
Heimdal uses warn(), so we should prototype it here too.

Modified:
   branches/SAMBA_4_0/source/heimdal_build/err.h


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/err.h
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/err.h	2007-01-06 18:59:02 UTC (rev 20589)
+++ branches/SAMBA_4_0/source/heimdal_build/err.h	2007-01-07 00:44:17 UTC (rev 20590)
@@ -1,3 +1,7 @@
+#ifdef HAVE_ERR_H
+#include <err.h>
+#else
+
 #ifndef	_ERR_H
 #define	_ERR_H	1
 
@@ -4,5 +8,7 @@
 void err(int eval, const char *format, ...);
 void errx(int eval, const char *format, ...);
 void warnx(const char *format, ...);
+void warn(const char *format, ...);
 
 #endif	/* err.h */
+#endif /* HAVE_ERR_H */



More information about the samba-cvs mailing list