1*7c478bd9Sstevel@tonic-gate /* $Id: getopt.h,v 1.4 2001/09/18 05:05:21 djm Exp $ */ 2*7c478bd9Sstevel@tonic-gate 3*7c478bd9Sstevel@tonic-gate #ifndef _GETOPT_H 4*7c478bd9Sstevel@tonic-gate #define _GETOPT_H 5*7c478bd9Sstevel@tonic-gate 6*7c478bd9Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 7*7c478bd9Sstevel@tonic-gate 8*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 9*7c478bd9Sstevel@tonic-gate extern "C" { 10*7c478bd9Sstevel@tonic-gate #endif 11*7c478bd9Sstevel@tonic-gate 12*7c478bd9Sstevel@tonic-gate #include "config.h" 13*7c478bd9Sstevel@tonic-gate 14*7c478bd9Sstevel@tonic-gate #if !defined(HAVE_GETOPT) || !defined(HAVE_GETOPT_OPTRESET) 15*7c478bd9Sstevel@tonic-gate 16*7c478bd9Sstevel@tonic-gate int BSDgetopt(int argc, char * const *argv, const char *opts); 17*7c478bd9Sstevel@tonic-gate 18*7c478bd9Sstevel@tonic-gate #endif 19*7c478bd9Sstevel@tonic-gate 20*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 21*7c478bd9Sstevel@tonic-gate } 22*7c478bd9Sstevel@tonic-gate #endif 23*7c478bd9Sstevel@tonic-gate 24*7c478bd9Sstevel@tonic-gate #endif /* _GETOPT_H */ 25