diff options
author | Patrick Latifi <pat@cvs.openbsd.org> | 2005-03-31 18:36:30 +0000 |
---|---|---|
committer | Patrick Latifi <pat@cvs.openbsd.org> | 2005-03-31 18:36:30 +0000 |
commit | 6144ee12396ed37f4d06e8bdc9e16ad7ce2a5887 (patch) | |
tree | ce369b3a06db4e7b1407c3034c88f7aaba09cb05 /lib/libc/stdio/sprintf.c | |
parent | c58021fbd559f74cb8e182e26811eee233417b84 (diff) |
make sure the implementation matches the prototype..
char const * -> const char *
ok otto@ deraadt@
Diffstat (limited to 'lib/libc/stdio/sprintf.c')
-rw-r--r-- | lib/libc/stdio/sprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/sprintf.c b/lib/libc/stdio/sprintf.c index c7f2da2d970..68e8f54896c 100644 --- a/lib/libc/stdio/sprintf.c +++ b/lib/libc/stdio/sprintf.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: sprintf.c,v 1.9 2003/07/24 01:15:42 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: sprintf.c,v 1.10 2005/03/31 18:36:29 pat Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -45,7 +45,7 @@ __warn_references(sprintf, #endif int -sprintf(char *str, char const *fmt, ...) +sprintf(char *str, const char *fmt, ...) { int ret; va_list ap; |