summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorPatrick Latifi <pat@cvs.openbsd.org>2005-03-31 18:36:30 +0000
committerPatrick Latifi <pat@cvs.openbsd.org>2005-03-31 18:36:30 +0000
commit6144ee12396ed37f4d06e8bdc9e16ad7ce2a5887 (patch)
treece369b3a06db4e7b1407c3034c88f7aaba09cb05 /lib/libc/stdio/stdio.c
parentc58021fbd559f74cb8e182e26811eee233417b84 (diff)
make sure the implementation matches the prototype..
char const * -> const char * ok otto@ deraadt@
Diffstat (limited to 'lib/libc/stdio/stdio.c')
-rw-r--r--lib/libc/stdio/stdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c
index 0b8dea835a0..2b3a25d6312 100644
--- a/lib/libc/stdio/stdio.c
+++ b/lib/libc/stdio/stdio.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: stdio.c,v 1.7 2005/03/30 19:59:03 pat Exp $";
+static char rcsid[] = "$OpenBSD: stdio.c,v 1.8 2005/03/31 18:36:29 pat Exp $";
#endif /* LIBC_SCCS and not lint */
#include <fcntl.h>
@@ -59,7 +59,7 @@ __sread(void *cookie, char *buf, int n)
}
int
-__swrite(void *cookie, char const *buf, int n)
+__swrite(void *cookie, const char *buf, int n)
{
FILE *fp = cookie;