diff options
author | Mathieu Sauve-Frankel <msf@cvs.openbsd.org> | 2004-06-25 05:06:50 +0000 |
---|---|---|
committer | Mathieu Sauve-Frankel <msf@cvs.openbsd.org> | 2004-06-25 05:06:50 +0000 |
commit | 1565c127b1bdcc74ee76a732acd8d8ea330dbce5 (patch) | |
tree | 21fe9a6b51d8c6d7e5161c2297283411c4d03377 /lib/libkeynote/keynote-verify.c | |
parent | 9bd8fd0c93dcd62158eebc119f2255df53ba1b8f (diff) |
Make crufty configure stuff go away. Remove all unused code paths.
No change in binaries.
ok millert@ deraadt@ hshoexer@
Diffstat (limited to 'lib/libkeynote/keynote-verify.c')
-rw-r--r-- | lib/libkeynote/keynote-verify.c | 35 |
1 files changed, 6 insertions, 29 deletions
diff --git a/lib/libkeynote/keynote-verify.c b/lib/libkeynote/keynote-verify.c index d7836201428..0d35f22f679 100644 --- a/lib/libkeynote/keynote-verify.c +++ b/lib/libkeynote/keynote-verify.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keynote-verify.c,v 1.12 2003/07/05 17:01:49 deraadt Exp $ */ +/* $OpenBSD: keynote-verify.c,v 1.13 2004/06/25 05:06:49 msf Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -19,40 +19,17 @@ * PURPOSE. */ -#if HAVE_CONFIG_H -#include "config.h" -#endif /* HAVE_CONFIG_H */ - #include <sys/types.h> #include <sys/stat.h> -#include <stdlib.h> -#include <stdio.h> -#include <ctype.h> - -#if STDC_HEADERS -#include <string.h> -#if !defined(HAVE_MEMCPY) -#define memcpy(d, s, n) bcopy ((s), (d), (n)) -#endif /* !HAVE_MEMCPY */ -#endif /* STDC_HEADERS */ - -#if HAVE_MEMORY_H -#include <memory.h> -#endif /* HAVE_MEMORY_H */ -#if HAVE_FCNTL_H +#include <ctype.h> #include <fcntl.h> -#endif /* HAVE_FCNTL_H */ - -#if !defined(HAVE_GETOPT) #include <getopt.h> -#endif /* HAVE_GETOPT */ - -#if HAVE_IO_H -#include <io.h> -#elif HAVE_UNISTD_H +#include <memory.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <unistd.h> -#endif /* HAVE_IO_H */ #include "header.h" #include "keynote.h" |