From: Jim Meyering Date: Thu, 18 Apr 1996 23:02:17 +0000 (+0000) Subject: Indent cpp-directives. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9243fffedb8a99ce0630e4433b1bdd9f7b839f13;p=pspp Indent cpp-directives. --- diff --git a/lib/error.c b/lib/error.c index cb672970a7..8f679c7fc4 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 . */ #ifdef HAVE_CONFIG_H -#include +# include #endif #include @@ -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 +# define program_name program_invocation_name +# include #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