diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-01 01:08:32 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-01 01:08:32 +0000 |
commit | d784a738139448819b0f9634632e144f11ce8445 (patch) | |
tree | ddb2a252f194b7508d200750332f53694f046fe8 /lib/libkeynote/keynote-main.c | |
parent | 364f2dadf3054e5812ecc352689f96ed5d1ab7a9 (diff) |
Update for version 2.0
Diffstat (limited to 'lib/libkeynote/keynote-main.c')
-rw-r--r-- | lib/libkeynote/keynote-main.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lib/libkeynote/keynote-main.c b/lib/libkeynote/keynote-main.c index bc91a3c8ac7..c18ae6965b8 100644 --- a/lib/libkeynote/keynote-main.c +++ b/lib/libkeynote/keynote-main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keynote-main.c,v 1.5 1999/05/31 20:15:25 angelos Exp $ */ +/* $OpenBSD: keynote-main.c,v 1.6 1999/10/01 01:08:30 angelos Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -19,16 +19,24 @@ * PURPOSE. */ +#if HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> -#include <string.h> #include <stdio.h> -#include <fcntl.h> #include <ctype.h> +#if STDC_HEADERS +#include <string.h> +#endif /* STDC_HEADERS */ + +#if HAVE_FCNTL_H +#include <fcntl.h> +#endif /* HAVE_FCNTL_H */ #ifdef WIN32 -#include <ctype.h> #include <io.h> #else #include <unistd.h> @@ -48,11 +56,7 @@ mainusage() "e.g., keynote sign\n"); } -#ifdef WIN32 -void -#else int -#endif main(int argc, char *argv[]) { if (argc < 2) |