summaryrefslogtreecommitdiff
path: root/usr/src/head/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/getopt.h')
-rw-r--r--usr/src/head/getopt.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/head/getopt.h b/usr/src/head/getopt.h
index c8b6db4f75..adf98d096c 100644
--- a/usr/src/head/getopt.h
+++ b/usr/src/head/getopt.h
@@ -20,6 +20,8 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -32,8 +34,6 @@
#ifndef _GETOPT_H
#define _GETOPT_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -67,18 +67,12 @@ extern int optopt;
/*
* The use of getopt_long_only in new development is strongly discouraged.
*/
-#ifdef __STDC__
extern int getopt_long(int, char * const *, const char *,
const struct option *, int *);
extern int getopt_long_only(int, char * const *, const char *,
const struct option *, int *);
extern int getopt_clip(int, char * const *, const char *,
const struct option *, int *);
-#else /* __STDC__ */
-extern int getopt_long();
-extern int getopt_long_only();
-extern int getopt_clip();
-#endif /* __STDC__ */
#ifdef __cplusplus
}