scanf.c (50476) | scanf.c (71579) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Chris Torek. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * SUCH DAMAGE. 35 */ 36 37#if defined(LIBC_SCCS) && !defined(lint) 38#if 0 39static char sccsid[] = "@(#)scanf.c 8.1 (Berkeley) 6/4/93"; 40#endif 41static const char rcsid[] = | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Chris Torek. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * SUCH DAMAGE. 35 */ 36 37#if defined(LIBC_SCCS) && !defined(lint) 38#if 0 39static char sccsid[] = "@(#)scanf.c 8.1 (Berkeley) 6/4/93"; 40#endif 41static const char rcsid[] = |
42 "$FreeBSD: head/lib/libc/stdio/scanf.c 50476 1999-08-28 00:22:10Z peter $"; | 42 "$FreeBSD: head/lib/libc/stdio/scanf.c 71579 2001-01-24 13:01:12Z deischen $"; |
43#endif /* LIBC_SCCS and not lint */ 44 | 43#endif /* LIBC_SCCS and not lint */ 44 |
45#include "namespace.h" |
|
45#include <stdio.h> 46#if __STDC__ 47#include <stdarg.h> 48#else 49#include <varargs.h> 50#endif | 46#include <stdio.h> 47#if __STDC__ 48#include <stdarg.h> 49#else 50#include <varargs.h> 51#endif |
52#include "un-namespace.h" |
|
51#include "libc_private.h" 52 53#if __STDC__ 54int 55scanf(char const *fmt, ...) 56#else 57int 58scanf(fmt, va_alist) --- 18 unchanged lines hidden --- | 53#include "libc_private.h" 54 55#if __STDC__ 56int 57scanf(char const *fmt, ...) 58#else 59int 60scanf(fmt, va_alist) --- 18 unchanged lines hidden --- |