summaryrefslogtreecommitdiff
path: root/src/pathchk.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-05-01 20:51:16 +0000
committerJim Meyering <jim@meyering.net>1997-05-01 20:51:16 +0000
commit9080de09fc88d2ec30c3ef5dc18cba6fcfcc2ad3 (patch)
tree0c3c4dadd88daf67af12a61c574beb2052c521e7 /src/pathchk.c
parent44848c0887c0329a56a3b9120aa868d7aa0a4e7c (diff)
downloadcoreutils-9080de09fc88d2ec30c3ef5dc18cba6fcfcc2ad3.tar.xz
indent cpp-directives
Diffstat (limited to 'src/pathchk.c')
-rw-r--r--src/pathchk.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index b89f82bdc..a724ac1a6 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -47,47 +47,47 @@
#include "error.h"
#ifdef _POSIX_VERSION
-#include <limits.h>
-#ifndef PATH_MAX
-#define PATH_MAX_FOR(p) pathconf ((p), _PC_PATH_MAX)
-#endif /* not PATH_MAX */
-#ifndef NAME_MAX
-#define NAME_MAX_FOR(p) pathconf ((p), _PC_NAME_MAX);
-#endif /* not NAME_MAX */
+# include <limits.h>
+# ifndef PATH_MAX
+# define PATH_MAX_FOR(p) pathconf ((p), _PC_PATH_MAX)
+# endif /* not PATH_MAX */
+# ifndef NAME_MAX
+# define NAME_MAX_FOR(p) pathconf ((p), _PC_NAME_MAX);
+# endif /* not NAME_MAX */
#else /* not _POSIX_VERSION */
-#include <sys/param.h>
-#ifndef PATH_MAX
-#ifdef MAXPATHLEN
-#define PATH_MAX MAXPATHLEN
-#else /* not MAXPATHLEN */
-#define PATH_MAX _POSIX_PATH_MAX
-#endif /* not MAXPATHLEN */
-#endif /* not PATH_MAX */
-
-#ifndef NAME_MAX
-#ifdef MAXNAMLEN
-#define NAME_MAX MAXNAMLEN
-#else /* not MAXNAMLEN */
-#define NAME_MAX _POSIX_NAME_MAX
-#endif /* not MAXNAMLEN */
-#endif /* not NAME_MAX */
+# include <sys/param.h>
+# ifndef PATH_MAX
+# ifdef MAXPATHLEN
+# define PATH_MAX MAXPATHLEN
+# else /* not MAXPATHLEN */
+# define PATH_MAX _POSIX_PATH_MAX
+# endif /* not MAXPATHLEN */
+# endif /* not PATH_MAX */
+
+# ifndef NAME_MAX
+# ifdef MAXNAMLEN
+# define NAME_MAX MAXNAMLEN
+# else /* not MAXNAMLEN */
+# define NAME_MAX _POSIX_NAME_MAX
+# endif /* not MAXNAMLEN */
+# endif /* not NAME_MAX */
#endif /* not _POSIX_VERSION */
#ifndef _POSIX_PATH_MAX
-#define _POSIX_PATH_MAX 255
+# define _POSIX_PATH_MAX 255
#endif
#ifndef _POSIX_NAME_MAX
-#define _POSIX_NAME_MAX 14
+# define _POSIX_NAME_MAX 14
#endif
#ifndef PATH_MAX_FOR
-#define PATH_MAX_FOR(p) PATH_MAX
+# define PATH_MAX_FOR(p) PATH_MAX
#endif
#ifndef NAME_MAX_FOR
-#define NAME_MAX_FOR(p) NAME_MAX
+# define NAME_MAX_FOR(p) NAME_MAX
#endif
char *xstrdup ();