From 0fd58af2628ada6a88790da9468ce03d82432743 Mon Sep 17 00:00:00 2001 From: rodrigc Date: Sun, 20 Sep 2015 03:55:03 +0000 Subject: Add declarations to eliminate -Wmissing-prototypes warnings --- lib/libc/stdio/fgetwln.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/stdio/fgetwln.c') diff --git a/lib/libc/stdio/fgetwln.c b/lib/libc/stdio/fgetwln.c index 6d9087b..daef9b3 100644 --- a/lib/libc/stdio/fgetwln.c +++ b/lib/libc/stdio/fgetwln.c @@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$"); #include "local.h" #include "xlocale_private.h" +wchar_t *fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale); + wchar_t * fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) { -- cgit v1.1 From a60b0abd9a35fd6c384506295aa6e5d23775994f Mon Sep 17 00:00:00 2001 From: rodrigc Date: Sun, 20 Sep 2015 20:27:57 +0000 Subject: Remove names from some prototypes --- lib/libc/stdio/fgetwln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdio/fgetwln.c') diff --git a/lib/libc/stdio/fgetwln.c b/lib/libc/stdio/fgetwln.c index daef9b3..8439496 100644 --- a/lib/libc/stdio/fgetwln.c +++ b/lib/libc/stdio/fgetwln.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" #include "xlocale_private.h" -wchar_t *fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale); +wchar_t *fgetwln_l(FILE * __restrict, size_t *, locale_t); wchar_t * fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) -- cgit v1.1