Deleted Added
full compact
uname.c (202447) uname.c (202661)
1/*-
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#if defined(LIBC_SCCS) && !defined(lint)
31static char sccsid[] = "From: @(#)uname.c 8.1 (Berkeley) 1/4/94";
32#endif /* LIBC_SCCS and not lint */
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#if defined(LIBC_SCCS) && !defined(lint)
31static char sccsid[] = "From: @(#)uname.c 8.1 (Berkeley) 1/4/94";
32#endif /* LIBC_SCCS and not lint */
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/lib/libc/gen/uname.c 202447 2010-01-16 17:05:27Z ed $");
34__FBSDID("$FreeBSD: head/lib/libc/gen/uname.c 202661 2010-01-19 23:07:12Z ed $");
35
35
36#define uname wrapped_uname
36#include <sys/param.h>
37#include <sys/sysctl.h>
38#include <sys/utsname.h>
39#include <errno.h>
37#include <sys/param.h>
38#include <sys/sysctl.h>
39#include <sys/utsname.h>
40#include <errno.h>
41#undef uname
40
41int
42
43int
42__uname(struct utsname *name)
44uname(struct utsname *name)
43{
44 return __xuname(32, name);
45}
45{
46 return __xuname(32, name);
47}
46
47__sym_compat(uname, __uname, FBSD_1.0);