diff options
Diffstat (limited to 'lib/printf/printf-pos.c')
-rw-r--r-- | lib/printf/printf-pos.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/printf/printf-pos.c b/lib/printf/printf-pos.c index 40f91e8af..f4104c52b 100644 --- a/lib/printf/printf-pos.c +++ b/lib/printf/printf-pos.c @@ -32,18 +32,13 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93"; -#endif /* LIBC_SCCS and not lint */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); /* * This is the code responsible for handling positional arguments * (%m$ and %m$.n$) for vfprintf() and vfwprintf(). */ -#include "namespace.h" #include <sys/types.h> #include <limits.h> @@ -55,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <wchar.h> -#include "un-namespace.h" #include "printflocal.h" #ifdef NL_ARGMAX @@ -646,7 +640,7 @@ __grow_type_table(struct typetable *types) u_int n, newsize; /* Detect overflow */ - if (types->nextarg > NL_ARGMAX) + if (types->nextarg > MAX_POSARG) return (-1); newsize = oldsize * 2; |