diff options
Diffstat (limited to 'lib/libc/stdio/puts.c')
-rw-r--r-- | lib/libc/stdio/puts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/puts.c b/lib/libc/stdio/puts.c index c1e35d628e6..27acf84fab5 100644 --- a/lib/libc/stdio/puts.c +++ b/lib/libc/stdio/puts.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: puts.c,v 1.5 2004/09/28 18:12:44 otto Exp $"; +static char rcsid[] = "$OpenBSD: puts.c,v 1.6 2005/03/31 18:36:29 pat Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -42,7 +42,7 @@ static char rcsid[] = "$OpenBSD: puts.c,v 1.5 2004/09/28 18:12:44 otto Exp $"; * Write the given string to stdout, appending a newline. */ int -puts(char const *s) +puts(const char *s) { size_t c = strlen(s); struct __suio uio; |