aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-09 10:29:58 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-09 10:29:58 +0000
commit090b53c17d70324947a49e8f5feb9cdc577cc989 (patch)
treeec0cd116b154399c850f6f89240e5e6b47d79519 /libsbutil/sb_close.c
parentcleanup whitespace and comments -- no functional changes (diff)
downloadsandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.tar.gz
sandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.tar.bz2
sandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.zip
headers.h: consolidate all random system includes into one file
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsbutil/sb_close.c')
-rw-r--r--libsbutil/sb_close.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libsbutil/sb_close.c b/libsbutil/sb_close.c
index 3d9c023..003f9ad 100644
--- a/libsbutil/sb_close.c
+++ b/libsbutil/sb_close.c
@@ -7,15 +7,9 @@
* Licensed under the GPL-2
*/
-#include <errno.h>
-#include <stdio.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <fcntl.h>
-
+#include "headers.h"
#include "sbutil.h"
-
/* General purpose function to _reliably_ close a file
*
* Returns 0 if successful or negative number on error (and errno set)