Module Name: src
Committed By: matt
Date: Wed Mar 21 05:34:54 UTC 2012
Modified Files:
src/lib/libedit: makelist
Log Message:
Use C89 functions definitions.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libedit/makelist
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libedit/makelist
diff -u src/lib/libedit/makelist:1.17 src/lib/libedit/makelist:1.18
--- src/lib/libedit/makelist:1.17 Thu Jul 28 00:43:53 2011
+++ src/lib/libedit/makelist Wed Mar 21 05:34:54 2012
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: makelist,v 1.17 2011/07/28 00:43:53 christos Exp $
+# $NetBSD: makelist,v 1.18 2012/03/21 05:34:54 matt Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -129,7 +129,7 @@ _EOF
}
END {
printf("};\n");
- printf("\nprotected const el_bindings_t* help__get()");
+ printf("\nprotected const el_bindings_t* help__get(void)");
printf("{ return el_func_help; }\n");
}'
;;
@@ -195,7 +195,7 @@ _EOF
}
END {
printf("\n};\n");
- printf("\nprotected const el_func_t* func__get() { return el_func; }\n");
+ printf("\nprotected const el_func_t* func__get(void) { return el_func; }\n");
}'
;;