Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[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 /* $DragonFly: src/usr.sbin/pkg_install/sign/Attic/stand.h,v 1.2 2003/06/17 04:29:59 dillon Exp $ */
3 /* $OpenBSD: stand.h,v 1.2 1999/10/04 21:46:30 espie Exp $ */
4
5 /* provided to cater for BSD idiosyncrasies */
6
7 #if (defined(__unix__) || defined(unix)) && !defined(USG)
8 #include <sys/param.h>
9 #endif
10
11 #ifndef __P
12 #ifdef __STDC__
13 #define __P(x)  x
14 #else
15 #define __P(x) ()
16 #endif
17 #endif
18
19 #if defined(BSD4_4)
20 #include <err.h>
21 #else
22 extern void set_program_name __P((const char * name));
23 extern void warn __P((const char *fmt, ...));
24 extern void warnx __P((const char *fmt, ...));
25 #endif
26
27 #ifndef __GNUC__
28 #define __attribute__(x)
29 #endif