diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-18 23:02:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-18 23:02:17 +0000 |
commit | 199923e3ccfe52e49ccc9b27f5f38053b861d739 (patch) | |
tree | 30538a45c9940b53447524b5a06931c0fb142dba | |
parent | 706389d9df5424ac36f5050691c38f5b2c3effe9 (diff) | |
download | coreutils-199923e3ccfe52e49ccc9b27f5f38053b861d739.tar.xz |
Indent cpp-directives.
-rw-r--r-- | lib/error.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/error.c b/lib/error.c index cb672970a..8f679c7fc 100644 --- a/lib/error.c +++ b/lib/error.c @@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */ #ifdef HAVE_CONFIG_H -#include <config.h> +# include <config.h> #endif #include <stdio.h> @@ -44,7 +44,7 @@ void exit (); #endif #ifndef _ -#define _(String) String +# define _(String) String #endif /* If NULL, error will flush stdout, then print on stderr the program @@ -62,8 +62,8 @@ unsigned int error_message_count; #ifdef _LIBC /* In the GNU C library, there is a predefined variable for this. */ -#define program_name program_invocation_name -#include <errno.h> +# define program_name program_invocation_name +# include <errno.h> #else @@ -71,11 +71,11 @@ unsigned int error_message_count; name of the executing program. */ extern char *program_name; -#if HAVE_STRERROR -# ifndef strerror /* On some systems, strerror is a macro */ +# if HAVE_STRERROR +# ifndef strerror /* On some systems, strerror is a macro */ char *strerror (); -# endif -#else +# endif +# else static char * private_strerror (errnum) int errnum; @@ -87,8 +87,8 @@ private_strerror (errnum) return sys_errlist[errnum]; return _("Unknown system error"); } -#define strerror private_strerror -#endif /* HAVE_STRERROR */ +# define strerror private_strerror +# endif /* HAVE_STRERROR */ #endif /* _LIBC */ /* Print the program name and error message MESSAGE, which is a printf-style |