summaryrefslogtreecommitdiffstats
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-09 02:37:10 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-09 02:37:10 +0000
commiteb7b28759a71b8a1356a8706fa194179f3309990 (patch)
tree973fb46d57f7f968f7b3c37d246d967821d96d87 /source3/include/includes.h
parent65c5a1c0ba2cc3dc8e45a499c42191016e658b20 (diff)
downloadsamba-eb7b28759a71b8a1356a8706fa194179f3309990.tar.gz
samba-eb7b28759a71b8a1356a8706fa194179f3309990.tar.xz
samba-eb7b28759a71b8a1356a8706fa194179f3309990.zip
fixed missing const on d_printf declaration
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 98580c3626b..df0448bb9c1 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