summaryrefslogtreecommitdiff
path: root/bin/systrace/policy.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 22:56:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 22:56:22 +0000
commit3340156670d78e1dcfd8e3103401cfc689ea172e (patch)
tree2c078a18f85e33c717e2956d894a3179fa352225 /bin/systrace/policy.c
parent7dfda9f18312e783397713e7a955ce8066dbcd3c (diff)
standalone ; at top scope is illegal in ansi c
Diffstat (limited to 'bin/systrace/policy.c')
-rw-r--r--bin/systrace/policy.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/systrace/policy.c b/bin/systrace/policy.c
index 17311f4cdd9..fbbb1e9e98c 100644
--- a/bin/systrace/policy.c
+++ b/bin/systrace/policy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: policy.c,v 1.16 2002/08/30 17:09:21 itojun Exp $ */
+/* $OpenBSD: policy.c,v 1.17 2002/09/06 22:56:21 deraadt Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -63,8 +63,8 @@ psccompare(struct policy_syscall *a, struct policy_syscall *b)
return (strcmp(a->name, b->name));
}
-SPLAY_PROTOTYPE(syscalltree, policy_syscall, node, psccompare);
-SPLAY_GENERATE(syscalltree, policy_syscall, node, psccompare);
+SPLAY_PROTOTYPE(syscalltree, policy_syscall, node, psccompare)
+SPLAY_GENERATE(syscalltree, policy_syscall, node, psccompare)
static SPLAY_HEAD(policytree, policy) policyroot;
static SPLAY_HEAD(polnrtree, policy) polnrroot;
@@ -87,11 +87,11 @@ polnrcompare(struct policy *a, struct policy *b)
return (-1);
}
-SPLAY_PROTOTYPE(policytree, policy, node, policycompare);
-SPLAY_GENERATE(policytree, policy, node, policycompare);
+SPLAY_PROTOTYPE(policytree, policy, node, policycompare)
+SPLAY_GENERATE(policytree, policy, node, policycompare)
-SPLAY_PROTOTYPE(polnrtree, policy, nrnode, polnrcompare);
-SPLAY_GENERATE(polnrtree, policy, nrnode, polnrcompare);
+SPLAY_PROTOTYPE(polnrtree, policy, nrnode, polnrcompare)
+SPLAY_GENERATE(polnrtree, policy, nrnode, polnrcompare)
extern int userpolicy;