aboutsummaryrefslogtreecommitdiff
path: root/argp
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-06-21 21:43:00 +0000
committerUlrich Drepper <drepper@redhat.com>1997-06-21 21:43:00 +0000
commit36775c3ba3cc21296f7248e761b8678ae0bf2fed (patch)
tree7224e39ab74e652d5f561fb12176450da61d0e07 /argp
parent5107cf1d7d27f17c6de68ec15a8e8d9dd5b471c1 (diff)
downloadglibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.tar
glibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.tar.gz
glibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.tar.bz2
glibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.zip
1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com> * argp/argp.h: Remove extra #endif. Pretty print. * md5-crypt/md5.h: Likewise. * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>. * wctype/wctype.h: Likewise. * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct directory. * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result. * sysdeps/libm-i387/s_ilogbf.S: Likewise. * sysdeps/libm-i387/s_ilogbl.S: Likewise. * sysdeps/libm-i387/s_lrint.S: Likewise. * sysdeps/libm-i387/s_llrint.S: Likewise.
Diffstat (limited to 'argp')
-rw-r--r--argp/argp.h39
1 files changed, 19 insertions, 20 deletions
diff --git a/argp/argp.h b/argp/argp.h
index 600264e6b7..55024cac12 100644
--- a/argp/argp.h
+++ b/argp/argp.h
@@ -29,16 +29,16 @@
#include <errno.h>
#ifndef __const
-#define __const const
+# define __const const
#endif
#ifndef __error_t_defined
typedef int error_t;
-#define __error_t_defined
+# define __error_t_defined
#endif
#ifndef __P
-# if (defined (__STDC__) && __STDC__) || defined (__cplusplus)
+# if (defined __STDC__ && __STDC__) || defined __cplusplus
# define __P(args) args
# else
# define __P(args) ()
@@ -510,16 +510,16 @@ extern void *__argp_input __P ((__const struct argp *argp,
#ifdef __OPTIMIZE__
-#if !_LIBC
-# define __argp_usage argp_usage
-# define __argp_state_help argp_state_help
-# define __option_is_short _option_is_short
-# define __option_is_end _option_is_end
-#endif
+# if !_LIBC
+# define __argp_usage argp_usage
+# define __argp_state_help argp_state_help
+# define __option_is_short _option_is_short
+# define __option_is_end _option_is_end
+# endif
-#ifndef ARGP_EI
-# define ARGP_EI extern inline
-#endif
+# ifndef ARGP_EI
+# define ARGP_EI extern inline
+# endif
ARGP_EI void
__argp_usage (__const struct argp_state *__state)
@@ -545,17 +545,16 @@ __option_is_end (__const struct argp_option *__opt)
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
}
-#if !_LIBC
-# undef __argp_usage
-# undef __argp_state_help
-# undef __option_is_short
-# undef __option_is_end
-#endif
-#endif /* argp.h */
+# if !_LIBC
+# undef __argp_usage
+# undef __argp_state_help
+# undef __option_is_short
+# undef __option_is_end
+# endif
#endif /* __OPTIMIZE__ */
#ifdef __cplusplus
}
#endif
-#endif /* __ARGP_H__ */
+#endif /* argp.h */