diff options
author | Frank Warmerdam <warmerdam@pobox.com> | 2009-01-22 20:53:07 +0000 |
---|---|---|
committer | Frank Warmerdam <warmerdam@pobox.com> | 2009-01-22 20:53:07 +0000 |
commit | 3db9feb5956d3a8f3fa008c21d4f9178768adad1 (patch) | |
tree | 46a89b7999277494aa9d8db4382cd128f9b59a50 /port | |
parent | 9a47718c191e9f05ae4e9ffa849fde5d2cef4d7c (diff) | |
download | libtiff-git-3db9feb5956d3a8f3fa008c21d4f9178768adad1.tar.gz |
introduce libport.h prototypes to reduce warnings
Diffstat (limited to 'port')
-rw-r--r-- | port/getopt.c | 3 | ||||
-rw-r--r-- | port/strcasecmp.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/port/getopt.c b/port/getopt.c index 13b7f1e5..6eff8ee5 100644 --- a/port/getopt.c +++ b/port/getopt.c @@ -1,4 +1,4 @@ -/* $Id: getopt.c,v 1.2 2005-07-07 16:34:06 dron Exp $ */ +/* $Id: getopt.c,v 1.3 2009-01-22 20:53:07 fwarmerdam Exp $ */ /* * Copyright (c) 1987, 1993, 1994 @@ -36,6 +36,7 @@ __RCSID("$NetBSD: getopt.c,v 1.26 2003/08/07 16:43:40 agc Exp $"); #include <stdio.h> #include <string.h> +#include "libport.h" int opterr = 1, /* if error message should be printed */ optind = 1, /* index into parent argv vector */ diff --git a/port/strcasecmp.c b/port/strcasecmp.c index 90322756..1ff4312b 100644 --- a/port/strcasecmp.c +++ b/port/strcasecmp.c @@ -1,4 +1,4 @@ -/* $Id: strcasecmp.c,v 1.2 2005-07-07 16:34:06 dron Exp $ */ +/* $Id: strcasecmp.c,v 1.3 2009-01-22 20:53:07 fwarmerdam Exp $ */ /* * Copyright (c) 1987, 1993 @@ -36,6 +36,7 @@ __RCSID("$NetBSD: strcasecmp.c,v 1.16 2003/08/07 16:43:49 agc Exp $"); #include <ctype.h> #include <string.h> +#include "libport.h" int strcasecmp(const char *s1, const char *s2) |