diff options
| author | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
|---|---|---|
| committer | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
| commit | 571744447c23f91feb6439948f3a619aca850dfb (patch) | |
| tree | 996c6f90721d69494683ae213ec22784d02a899a /src/exit | |
| parent | remove an unnecessary check in inet_pton (diff) | |
| download | grovel-571744447c23f91feb6439948f3a619aca850dfb.tar.gz grovel-571744447c23f91feb6439948f3a619aca850dfb.tar.xz | |
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/exit')
| -rw-r--r-- | src/exit/atexit.c | 2 | ||||
| -rw-r--r-- | src/exit/exit.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/exit/atexit.c b/src/exit/atexit.c index c31f3dc3..89ff4ff3 100644 --- a/src/exit/atexit.c +++ b/src/exit/atexit.c @@ -1,7 +1,5 @@ -#include <stddef.h> #include <stdlib.h> #include <stdint.h> -#include <limits.h> #include "libc.h" /* Ensure that at least 32 atexit handlers can be registered without malloc */ diff --git a/src/exit/exit.c b/src/exit/exit.c index f259c982..353f50b7 100644 --- a/src/exit/exit.c +++ b/src/exit/exit.c @@ -1,6 +1,5 @@ #include <stdlib.h> -#include <unistd.h> -#include <stdio.h> +#include <stdint.h> #include "libc.h" #include "atomic.h" #include "syscall.h" |
