* port/libport.h: Add extern declarations for getopt standard
globals.
This commit is contained in:
parent
d35a21f9d2
commit
2b14d5a792
@ -1,3 +1,8 @@
|
||||
2009-11-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
||||
|
||||
* port/libport.h: Add extern declarations for getopt standard
|
||||
globals.
|
||||
|
||||
2009-10-31 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
||||
|
||||
* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
|
||||
|
@ -26,6 +26,6 @@
|
||||
EXTRA_DIST = Makefile.vc libport.h
|
||||
|
||||
noinst_LTLIBRARIES = libport.la
|
||||
libport_la_SOURCES = dummy.c
|
||||
libport_la_SOURCES = dummy.c libport.h
|
||||
libport_la_LIBADD = @LTLIBOBJS@
|
||||
|
||||
|
@ -263,7 +263,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
EXTRA_DIST = Makefile.vc libport.h
|
||||
noinst_LTLIBRARIES = libport.la
|
||||
libport_la_SOURCES = dummy.c
|
||||
libport_la_SOURCES = dummy.c libport.h
|
||||
libport_la_LIBADD = @LTLIBOBJS@
|
||||
all: all-am
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: libport.h,v 1.1 2009-01-22 20:54:45 fwarmerdam Exp $ */
|
||||
/* $Id: libport.h,v 1.2 2009-11-02 14:44:13 bfriesen Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Frank Warmerdam
|
||||
@ -27,6 +27,11 @@
|
||||
#define _LIBPORT_
|
||||
|
||||
int getopt(int argc, char * const argv[], const char *optstring);
|
||||
extern char *optarg;
|
||||
extern int opterr;
|
||||
extern int optind;
|
||||
extern int optopt;
|
||||
|
||||
int strcasecmp(const char *s1, const char *s2);
|
||||
|
||||
#ifndef HAVE_GETOPT
|
||||
|
Loading…
Reference in New Issue
Block a user