summaryrefslogtreecommitdiffstats
path: root/contrib/pf/authpf
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-02-28 17:32:53 +0000
committermlaier <mlaier@FreeBSD.org>2004-02-28 17:32:53 +0000
commitcfa84beb14b57fb04e0c99796c7b1ef9f4719274 (patch)
treec31333426907530b588b3b90bbec666e0c0bd647 /contrib/pf/authpf
parent80dc4d1b917ca6fab4a6f9dd6a58da889fd7b4dc (diff)
downloadFreeBSD-src-cfa84beb14b57fb04e0c99796c7b1ef9f4719274.zip
FreeBSD-src-cfa84beb14b57fb04e0c99796c7b1ef9f4719274.tar.gz
Apply diff from the port.
Rather small diff for the userland (in contrast to the kernel): - Some header file location/differences - Clean compilation on 64bit arch (identified by bento a long time ago) - ALTQ not (yet) available. Leave a switch for patchsets and future ... - most files can be used from the vendor branch Approved by: bms(in general)
Diffstat (limited to 'contrib/pf/authpf')
-rw-r--r--contrib/pf/authpf/authpf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/pf/authpf/authpf.c b/contrib/pf/authpf/authpf.c
index 8828ffc..09d0ac3 100644
--- a/contrib/pf/authpf/authpf.c
+++ b/contrib/pf/authpf/authpf.c
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* $OpenBSD: authpf.c,v 1.68 2003/08/21 19:13:23 frantzen Exp $ */
/*
@@ -49,6 +50,9 @@
#include "pathnames.h"
+#if defined(__FreeBSD__)
+#define __dead __volatile
+#endif
extern int symset(const char *, const char *, int);
static int read_config(FILE *);
@@ -285,6 +289,9 @@ dogdeath:
sleep(180); /* them lusers read reaaaaal slow */
die:
do_death(0);
+#if defined(__FreeBSD__)
+ return 0; /* gcc hack to prevent warning */
+#endif
}
/*
OpenPOWER on IntegriCloud