Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / pkg_install / sign / stand.h
1 /* $FreeBSD: src/usr.sbin/pkg_install/sign/stand.h,v 1.1.2.1 2001/03/05 03:43:53 wes Exp $ */
2 /* $OpenBSD: stand.h,v 1.2 1999/10/04 21:46:30 espie Exp $ */
3
4 /* provided to cater for BSD idiosyncrasies */
5
6 #if (defined(__unix__) || defined(unix)) && !defined(USG)
7 #include <sys/param.h>
8 #endif
9
10 #ifndef __P
11 #ifdef __STDC__
12 #define __P(x)  x
13 #else
14 #define __P(x) ()
15 #endif
16 #endif
17
18 #if defined(BSD4_4)
19 #include <err.h>
20 #else
21 extern void set_program_name __P((const char * name));
22 extern void warn __P((const char *fmt, ...));
23 extern void warnx __P((const char *fmt, ...));
24 #endif
25
26 #ifndef __GNUC__
27 #define __attribute__(x)
28 #endif