Deleted Added
full compact
getopt.h (126141) getopt.h (126142)
1/* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
1/* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
2/* $FreeBSD: head/include/getopt.h 126141 2004-02-23 04:17:59Z ache $ */
2/* $FreeBSD: head/include/getopt.h 126142 2004-02-23 04:51:07Z ache $ */
3
4/*-
5 * Copyright (c) 2000 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Dieter Baron and Thomas Klausner.
10 *

--- 56 unchanged lines hidden (view full) ---

67int getopt_long(int, char * const *, const char *,
68 const struct option *, int *);
69#ifndef _GETOPT_DECLARED
70#define _GETOPT_DECLARED
71int getopt(int, char * const [], const char *);
72
73extern char *optarg; /* getopt(3) external variables */
74extern int optind, opterr, optopt;
3
4/*-
5 * Copyright (c) 2000 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Dieter Baron and Thomas Klausner.
10 *

--- 56 unchanged lines hidden (view full) ---

67int getopt_long(int, char * const *, const char *,
68 const struct option *, int *);
69#ifndef _GETOPT_DECLARED
70#define _GETOPT_DECLARED
71int getopt(int, char * const [], const char *);
72
73extern char *optarg; /* getopt(3) external variables */
74extern int optind, opterr, optopt;
75#endif /* _GETOPT_DECLARED */
75#endif
76#ifndef _OPTRESET_DECLARED
77#define _OPTRESET_DECLARED
78extern int optreset; /* getopt(3) external variable */
79#endif
76__END_DECLS
77
78#endif /* !_GETOPT_H_ */
80__END_DECLS
81
82#endif /* !_GETOPT_H_ */