summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfscanf.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 20:28:49 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 20:28:49 +0000
commite5a64a53e6f41e1fb2f62f6b0fdfdbe1b7d5f5b0 (patch)
tree996688ef2df5a8bbdf03a5f32369cbfdcb9783eb /lib/libc/stdio/vfscanf.c
parenta60b0abd9a35fd6c384506295aa6e5d23775994f (diff)
downloadFreeBSD-src-e5a64a53e6f41e1fb2f62f6b0fdfdbe1b7d5f5b0.zip
FreeBSD-src-e5a64a53e6f41e1fb2f62f6b0fdfdbe1b7d5f5b0.tar.gz
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/stdio/vfscanf.c')
-rw-r--r--lib/libc/stdio/vfscanf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c
index 50f0690..b537263 100644
--- a/lib/libc/stdio/vfscanf.c
+++ b/lib/libc/stdio/vfscanf.c
@@ -814,9 +814,7 @@ match_failure:
* considered part of the scanset.
*/
static const u_char *
-__sccl(tab, fmt)
- char *tab;
- const u_char *fmt;
+__sccl(char *tab, const u_char *fmt)
{
int c, n, v, i;
struct xlocale_collate *table =
OpenPOWER on IntegriCloud