Drop main() prototype. Syncs with NetBSD-8
[minix.git] / tools / compat / nl_types.h
blob0da4e518478bdfcebee2d1cc15945dfafbcc9ced
1 /* $NetBSD: nl_types.h,v 1.3 2014/11/12 15:08:52 joerg Exp $ */
3 #if defined(_NLS_PRIVATE)
5 /* #if defined(__minix) */
6 /* <sys/cdefs> defines __format_arg, but on some other platforms it doesn't.
7 * <nl_types.h> includes <sys/cdefs> because it needs __format_arg. As it might
8 * not be defined, we do it here as a work around. */
9 #ifndef __format_arg
10 #define __format_arg(fmtarg) __attribute__((__format_arg__ (fmtarg)))
11 #endif
12 /* #endif defined(__minix) */
14 #include "../../include/nl_types.h"
15 #elif defined(__GNUC__)
16 #include_next <nl_types.h>
17 #endif