summaryrefslogtreecommitdiff
path: root/usr/src/common/util/getoptstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/common/util/getoptstr.c')
-rw-r--r--usr/src/common/util/getoptstr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/common/util/getoptstr.c b/usr/src/common/util/getoptstr.c
index 75a16c8860..541a287058 100644
--- a/usr/src/common/util/getoptstr.c
+++ b/usr/src/common/util/getoptstr.c
@@ -28,8 +28,6 @@
/* All Rights Reserved */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* This file contains getoptstr(), which is getopt() for strings of arguments
* (not arrays of strings). It is used by the bootloader ({*fs,inet}boot) and
@@ -38,6 +36,7 @@
#include "getoptstr.h"
+#include <sys/null.h>
/*
@@ -46,8 +45,6 @@
char *strchr(const char *s, int c);
-#define NULL ((void *)0)
-
#define ISNTWORDCH(c) ((c) == '\0' || ISSPACE(c))