changeset 20280:a28c3f4c39f6

Indent cpp-directives.
author Jim Meyering <jim@meyering.net>
date Thu, 18 Apr 1996 23:02:17 +0000
parents 7073ccc5f6c7
children b862c891e33f
files lib/error.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lib/error.c	Sun Apr 14 02:12:46 1996 +0000
+++ b/lib/error.c	Thu Apr 18 23:02:17 1996 +0000
@@ -18,7 +18,7 @@
 /* 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 @@
 #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 @@
 #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 @@
    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 @@
     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