diff options
author | 2011-11-08 18:30:42 +0000 | |
---|---|---|
committer | 2011-11-08 18:30:42 +0000 | |
commit | e09d0be95caaadd968d2fda2f48b1b76b84cdf39 (patch) | |
tree | 0b373a5fcb58b80af186a23a1191a556a167aa98 /lib/libc/stdio/local.h | |
parent | ncr53c9x (a.k.a. esp on sparc64) does not like 16-byte SCSI commands (diff) | |
download | wireguard-openbsd-e09d0be95caaadd968d2fda2f48b1b76b84cdf39.tar.xz wireguard-openbsd-e09d0be95caaadd968d2fda2f48b1b76b84cdf39.zip |
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.h | 3 |
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); |