diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-12-01 22:02:24 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-12-01 22:02:24 +0300 |
commit | 87559829ffc79b94adcee00b64706ce78ff2f3fb (patch) | |
tree | 75120bd48cfcb5744e62162b9110e67bf1faa2e4 /coreutils/md5sum.c | |
parent | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (diff) |
Remove #ifdef __STDC__ junk. We don't do K&R round these parts,
so no point acting like we do.
Diffstat (limited to 'coreutils/md5sum.c')
-rw-r--r-- | coreutils/md5sum.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c index 30b882ab5..84e037a61 100644 --- a/coreutils/md5sum.c +++ b/coreutils/md5sum.c @@ -107,48 +107,8 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *)); the resulting executable. Locally running cross-compiled executables is usually not possible. */ -#ifdef _LIBC # include <sys/types.h> typedef u_int32_t md5_uint32; -#else -# if defined __STDC__ && __STDC__ -# define UINT_MAX_32_BITS 4294967295U -# else -# define UINT_MAX_32_BITS 0xFFFFFFFF -# endif - -/* If UINT_MAX isn't defined, assume it's a 32-bit type. - This should be valid for all systems GNU cares about because - that doesn't include 16-bit systems, and only modern systems - (that certainly have <limits.h>) have 64+-bit integral types. */ - -# ifndef UINT_MAX -# define UINT_MAX UINT_MAX_32_BITS -# endif - -# if UINT_MAX == UINT_MAX_32_BITS - typedef unsigned int md5_uint32; -# else -# if USHRT_MAX == UINT_MAX_32_BITS - typedef unsigned short md5_uint32; -# else -# if ULONG_MAX == UINT_MAX_32_BITS - typedef unsigned long md5_uint32; -# else - /* The following line is intended to evoke an error. - Using #error is not portable enough. */ - "Cannot determine unsigned 32-bit data type." -# endif -# endif -# endif -#endif - -#undef __P -#if defined (__STDC__) && __STDC__ -#define __P(x) x -#else -#define __P(x) () -#endif /* Structure to save state of computation between the single steps. */ struct md5_ctx |