summaryrefslogtreecommitdiff
path: root/lib/error.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-07-15 03:56:06 +0000
committerJim Meyering <jim@meyering.net>1996-07-15 03:56:06 +0000
commit19bff1c02d0e0fb32cd11c21db739e8338a757c6 (patch)
tree500fb4d19edca1f7a6c03fd66329d2ae8a61118b /lib/error.h
parentfd984b9655ac56b6c0af9474562faf659b28113c (diff)
downloadcoreutils-19bff1c02d0e0fb32cd11c21db739e8338a757c6.tar.xz
indent cpp-directives
Diffstat (limited to 'lib/error.h')
-rw-r--r--lib/error.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/error.h b/lib/error.h
index 3439f37b2..d0dfda94f 100644
--- a/lib/error.h
+++ b/lib/error.h
@@ -16,22 +16,22 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef _error_h_
-#define _error_h_
+# define _error_h_
-#ifndef __attribute__
+# ifndef __attribute__
/* This feature is available in gcc versions 2.5 and later. */
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
-# define __attribute__(Spec) /* empty */
-# endif
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
+# define __attribute__(Spec) /* empty */
+# endif
/* The __-protected variants of `format' and `printf' attributes
are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
-# define __format__ format
-# define __printf__ printf
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+# define __format__ format
+# define __printf__ printf
+# endif
# endif
-#endif
-#if defined (__STDC__) && __STDC__
+# if defined (__STDC__) && __STDC__
/* Print a message with `fprintf (stderr, FORMAT, ...)';
if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
@@ -49,11 +49,11 @@ extern void error_at_line (int status, int errnum, const char *fname,
function without parameters instead. */
extern void (*error_print_progname) (void);
-#else
+# else
void error ();
void error_at_line ();
extern void (*error_print_progname) ();
-#endif
+# endif
/* This variable is incremented each time `error' is called. */
extern unsigned int error_message_count;