summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/local.h
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-08 18:30:43 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-08 18:30:43 +0000
commit2963a5b2ecb7e11e1675c90a84a50038d6097709 (patch)
tree531d3e7fae4b95db10cd454efa03734841d0d25f /lib/libc/stdio/local.h
parent4f14cc69ba971941b32eddc685568fa3a2e80471 (diff)
Make __svfscanf() the unlocked, core of vfscanf() and use it in
sscanf()/vsscanf() where locking is unnecessary. ok millert@
Diffstat (limited to 'lib/libc/stdio/local.h')
-rw-r--r--lib/libc/stdio/local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h
index 21190207538..0ebe1158116 100644
--- a/lib/libc/stdio/local.h
+++ b/lib/libc/stdio/local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: local.h,v 1.19 2011/10/16 13:20:51 stsp Exp $ */
+/* $OpenBSD: local.h,v 1.20 2011/11/08 18:30:42 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -59,6 +59,7 @@ int __sflags(const char *, int *);
wint_t __fgetwc_unlock(FILE *);
wint_t __ungetwc(wint_t, FILE *);
int __vfprintf(FILE *, const char *, __va_list);
+int __svfscanf(FILE * __restrict, const char * __restrict, __va_list);
int __vfwprintf(FILE * __restrict, const wchar_t * __restrict, __va_list);
int __vfwscanf(FILE * __restrict, const wchar_t * __restrict, __va_list);