Deleted Added
full compact
exit.c (123674) exit.c (150040)
1/*-
2 * Copyright (c) 1990, 1993
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

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

30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35static char sccsid[] = "@(#)exit.c 8.1 (Berkeley) 6/4/93";
36#endif /* LIBC_SCCS and not lint */
37#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1990, 1993
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

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

30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35static char sccsid[] = "@(#)exit.c 8.1 (Berkeley) 6/4/93";
36#endif /* LIBC_SCCS and not lint */
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/lib/libc/stdlib/exit.c 123674 2003-12-19 17:11:21Z kan $");
38__FBSDID("$FreeBSD: head/lib/libc/stdlib/exit.c 150040 2005-09-12 13:46:32Z stefanf $");
39
40#include "namespace.h"
41#include <stdlib.h>
42#include <unistd.h>
43#include "un-namespace.h"
39
40#include "namespace.h"
41#include <stdlib.h>
42#include <unistd.h>
43#include "un-namespace.h"
44
44#include "atexit.h"
45#include "atexit.h"
46#include "libc_private.h"
45
47
46void (*__cleanup)();
48void (*__cleanup)(void);
47
48/*
49 * This variable is zero until a process has created a thread.
50 * It is used to avoid calling locking functions in libc when they
51 * are not required. By default, libc is intended to be(come)
52 * thread-safe, but without a (significant) penalty to non-threaded
53 * processes.
54 */

--- 19 unchanged lines hidden ---
49
50/*
51 * This variable is zero until a process has created a thread.
52 * It is used to avoid calling locking functions in libc when they
53 * are not required. By default, libc is intended to be(come)
54 * thread-safe, but without a (significant) penalty to non-threaded
55 * processes.
56 */

--- 19 unchanged lines hidden ---