diff options
author | James Peach <jpeach@samba.org> | 2007-01-07 00:44:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:37:09 -0500 |
commit | 0bb9eb0153f3dfc16680cfddb32268a2ebb2d440 (patch) | |
tree | 6344e34dc47e764bd4d182878e588ea44fd5de41 /source4 | |
parent | 23edd6071a10196af7d905fcecad42845179bae3 (diff) | |
download | samba-0bb9eb0153f3dfc16680cfddb32268a2ebb2d440.tar.gz samba-0bb9eb0153f3dfc16680cfddb32268a2ebb2d440.tar.bz2 samba-0bb9eb0153f3dfc16680cfddb32268a2ebb2d440.zip |
r20590: Heimdal uses warn(), so we should prototype it here too.
(This used to be commit c1c25767e3fc655dfb70147b0477404617835feb)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal_build/err.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <err.h> +#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 */ |