From eb7b28759a71b8a1356a8706fa194179f3309990 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 Sep 2001 02:37:10 +0000 Subject: fixed missing const on d_printf declaration (This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719) --- source3/include/includes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 98580c3626..df0448bb9c 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1008,9 +1008,9 @@ extern int DEBUGLEVEL; #endif /* add varargs prototypes with printf checking */ -int fdprintf(int , char *, ...) PRINTF_ATTRIBUTE(2,3); -int d_printf(char *, ...) PRINTF_ATTRIBUTE(1,2); -int d_fprintf(FILE *f, char *, ...) PRINTF_ATTRIBUTE(2,3); +int fdprintf(int , const char *, ...) PRINTF_ATTRIBUTE(2,3); +int d_printf(const char *, ...) PRINTF_ATTRIBUTE(1,2); +int d_fprintf(FILE *f, const char *, ...) PRINTF_ATTRIBUTE(2,3); #ifndef HAVE_SNPRINTF_DECL int snprintf(char *,size_t ,const char *, ...) PRINTF_ATTRIBUTE(3,4); #endif -- cgit