From 0bb9eb0153f3dfc16680cfddb32268a2ebb2d440 Mon Sep 17 00:00:00 2001 From: James Peach Date: Sun, 7 Jan 2007 00:44:17 +0000 Subject: r20590: Heimdal uses warn(), so we should prototype it here too. (This used to be commit c1c25767e3fc655dfb70147b0477404617835feb) --- source4/heimdal_build/err.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/heimdal_build') diff --git a/source4/heimdal_build/err.h b/source4/heimdal_build/err.h index b36e28c18f..abdeb9ed7a 100644 --- a/source4/heimdal_build/err.h +++ b/source4/heimdal_build/err.h @@ -1,8 +1,14 @@ +#ifdef HAVE_ERR_H +#include +#else + #ifndef _ERR_H #define _ERR_H 1 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 */ -- cgit