Drop main() prototype. Syncs with NetBSD-8
[minix.git] / tools / compat / compat_getopt.h
blob86599bf3ff3de0570b35f374b957f16397a88d2e
1 /* $NetBSD: compat_getopt.h,v 1.2 2007/11/08 20:30:59 christos Exp $ */
3 /* We unconditionally use the NetBSD getopt.h in libnbcompat. */
5 #if HAVE_GETOPT_H
6 #include <getopt.h>
7 #endif
9 #define option __nbcompat_option
10 #define getopt_long __nbcompat_getopt_long
12 #undef no_argument
13 #undef required_argument
14 #undef optional_argument
15 #undef _GETOPT_H_
17 #include "../../include/getopt.h"