summaryrefslogtreecommitdiff
path: root/bin/ksh/c_test.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-12-18 20:55:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-12-18 20:55:53 +0000
commit62c19679be069ef2770e79fb05fdbc3a9749c612 (patch)
treebbdc0d9152836bab35763618d41fe24d089c34d0 /bin/ksh/c_test.h
parent220f5907de5bdc773b687af762aa5d835e26025c (diff)
Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.
First step in making the ksh code easier to read. From Matthias Kilian
Diffstat (limited to 'bin/ksh/c_test.h')
-rw-r--r--bin/ksh/c_test.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/bin/ksh/c_test.h b/bin/ksh/c_test.h
index dd0a43e2946..33df5721a8e 100644
--- a/bin/ksh/c_test.h
+++ b/bin/ksh/c_test.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: c_test.h,v 1.2 2003/10/22 07:40:38 jmc Exp $ */
+/* $OpenBSD: c_test.h,v 1.3 2004/12/18 20:55:52 millert Exp $ */
/* Various types of operations. Keeping things grouped nicely
* (unary,binary) makes switch() statements more efficient.
@@ -42,14 +42,14 @@ struct test_env {
XPtrV *av; /* used by dbtestp_* */
} pos;
char **wp_end; /* used by ptest_* */
- int (*isa) ARGS((Test_env *te, Test_meta meta));
- const char *(*getopnd) ARGS((Test_env *te, Test_op op, int do_eval));
- int (*eval) ARGS((Test_env *te, Test_op op, const char *opnd1,
- const char *opnd2, int do_eval));
- void (*error) ARGS((Test_env *te, int offset, const char *msg));
+ int (*isa)(Test_env *te, Test_meta meta);
+ const char *(*getopnd) (Test_env *te, Test_op op, int do_eval);
+ int (*eval)(Test_env *te, Test_op op, const char *opnd1,
+ const char *opnd2, int do_eval);
+ void (*error)(Test_env *te, int offset, const char *msg);
};
-Test_op test_isop ARGS((Test_env *te, Test_meta meta, const char *s));
-int test_eval ARGS((Test_env *te, Test_op op, const char *opnd1,
- const char *opnd2, int do_eval));
-int test_parse ARGS((Test_env *te));
+Test_op test_isop(Test_env *te, Test_meta meta, const char *s);
+int test_eval(Test_env *te, Test_op op, const char *opnd1,
+ const char *opnd2, int do_eval);
+int test_parse(Test_env *te);