From 4870e0a7381ec2ec57437062574e6ddc3dd48d7f Mon Sep 17 00:00:00 2001 From: Richard PALO Date: Wed, 27 Jan 2016 07:05:51 +0100 Subject: 6582 initial reorg adding sys/null.h for 5218 6487 clean up __STDC__ ifdefs in rpcsvc/dbm.h 6563 fmtmsg.h should be simplified and neither define NULL nor _NULL Reviewed by: Josef 'Jeff' Sipek Reviewed by: Gary Mills Reviewed by: Robert Mustacci Approved by: Dan McDonald --- usr/src/common/util/getoptstr.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr/src/common/util/getoptstr.c') 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 /* @@ -46,8 +45,6 @@ char *strchr(const char *s, int c); -#define NULL ((void *)0) - #define ISNTWORDCH(c) ((c) == '\0' || ISSPACE(c)) -- cgit v1.2.3