summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/gets.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/gets.c')
-rw-r--r--lib/libc/stdio/gets.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/gets.c b/lib/libc/stdio/gets.c
index 5177318..c7c1c2f 100644
--- a/lib/libc/stdio/gets.c
+++ b/lib/libc/stdio/gets.c
@@ -47,8 +47,7 @@ __FBSDID("$FreeBSD$");
__warn_references(gets, "warning: this program uses gets(), which is unsafe.");
char *
-gets(buf)
- char *buf;
+gets(char *buf)
{
int c;
char *s;
OpenPOWER on IntegriCloud