Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit Use C89 functions definitions.
details: https://anonhg.NetBSD.org/src/rev/dfeb89b2791e
branches: trunk
changeset: 778272:dfeb89b2791e
user: matt <matt%NetBSD.org@localhost>
date: Wed Mar 21 05:34:54 2012 +0000
description:
Use C89 functions definitions.
diffstat:
lib/libedit/makelist | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r bc723fedd02b -r dfeb89b2791e lib/libedit/makelist
--- a/lib/libedit/makelist Wed Mar 21 05:33:26 2012 +0000
+++ b/lib/libedit/makelist Wed Mar 21 05:34:54 2012 +0000
@@ -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 @@
}
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 @@
}
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");
}'
;;
Home |
Main Index |
Thread Index |
Old Index