mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-17 22:49:19 +08:00
* lib/getopt.c: Nuke use of unneeded BSDisms.
This commit is contained in:
parent
8b19b43d00
commit
c2c6b1701a
@ -1,3 +1,7 @@
|
|||||||
|
2003-03-02 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* lib/getopt.c: Nuke use of unneeded BSDisms.
|
||||||
|
|
||||||
2003-03-02 Christopher Faylor <cgf@redhat.com>
|
2003-03-02 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary
|
* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary
|
||||||
|
@ -36,13 +36,8 @@
|
|||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
|
||||||
|
|
||||||
/*#include "namespace.h"*/
|
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
/*#include <err.h>*/
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -92,9 +87,9 @@ extern char __declspec(dllimport) *__progname;
|
|||||||
|
|
||||||
#define EMSG ""
|
#define EMSG ""
|
||||||
|
|
||||||
static int getopt_internal __P((int, char * const *, const char *));
|
static int getopt_internal (int, char * const *, const char *);
|
||||||
static int gcd __P((int, int));
|
static int gcd (int, int);
|
||||||
static void permute_args __P((int, int, int, char * const *));
|
static void permute_args (int, int, int, char * const *);
|
||||||
|
|
||||||
static const char *place = EMSG; /* option letter processing */
|
static const char *place = EMSG; /* option letter processing */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user