diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2012-03-16 09:04:34 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2012-03-16 09:43:01 +0100 |
commit | 9ea38da9fbeda4ca2d8cdc4bc5ede2202d3ff34e (patch) | |
tree | a160a0934373241bfa7da3a77d4707862ec9a3ed /sed/utils.c | |
parent | 944747af30e067b3431cca1ef306e375ba1f4c34 (diff) | |
download | sed-9ea38da9fbeda4ca2d8cdc4bc5ede2202d3ff34e.tar.gz |
clean up header inclusions
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* basicdefs.h: Enjoy gnulib's headers.
* sed/compile.c: Likewise.
* sed/execute.c: Likewise.
* sed/regexp.c: Likewise.
* sed/sed.c: Likewise.
* sed/sed.h: Likewise.
* sed/utils.c: Likewise.
Diffstat (limited to 'sed/utils.c')
-rw-r--r-- | sed/utils.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sed/utils.c b/sed/utils.c index cb29b87..3db737b 100644 --- a/sed/utils.c +++ b/sed/utils.c @@ -21,20 +21,8 @@ #include <stdio.h> #include <stdarg.h> #include <errno.h> -#ifndef errno - extern int errno; -#endif - -#ifdef HAVE_STRINGS_H -# include <strings.h> -#else -# include <string.h> -#endif /* HAVE_STRINGS_H */ - -#ifdef HAVE_STDLIB_H -# include <stdlib.h> -#endif /* HAVE_STDLIB_H */ - +#include <string.h> +#include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> |