Subject: lib/8930: getopt (..., char *const [], ...) not getopt (..., char *const *, ...)
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/01/1999 02:48:39
>Number:         8930
>Category:       lib
>Synopsis:       getopt (..., char *const [], ...) not getopt (..., char *const *, ...)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec  1 02:48:00 1999
>Originator:     Andrew Cagney
Oops, its running N.T. at the moment.  It's a 1.4.1 i386.

See the OpenGroup's web site.  getopt's (declaration found in <unistd.h>) 
second arg is:

	char *const []

and not

	char *const *


Update <unistd.h> to match correct prototype.