forked from pool/deutex
32 lines
1001 B
Diff
32 lines
1001 B
Diff
|
From: Jan Engelhardt <jengelh@medozas.de>
|
||
|
|
||
|
src/deutex.c:108:1: warning: function declaration is not a prototype
|
||
|
src/deutex.c:1611:13: warning: function declaration is not a prototype
|
||
|
|
||
|
---
|
||
|
src/deutex.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
Index: deutex-4.4.902/src/deutex.c
|
||
|
===================================================================
|
||
|
--- deutex-4.4.902.orig/src/deutex.c
|
||
|
+++ deutex-4.4.902/src/deutex.c
|
||
|
@@ -105,7 +105,7 @@ const char *logfile
|
||
|
static char anon[1] = { '\0' };
|
||
|
|
||
|
typedef void (*comfun_t) (int argc, const char *argv[]);
|
||
|
-static void opt_widths ();
|
||
|
+static void opt_widths (void);
|
||
|
static int is_prefix (const char *s1, const char *s2);
|
||
|
static void call_opt (comfun_t func, ...);
|
||
|
|
||
|
@@ -1608,7 +1608,7 @@ void COMmanopt(int argc, const char *arg
|
||
|
/*
|
||
|
* opt_widths - make a pass through Com and compute widths per section
|
||
|
*/
|
||
|
-static void opt_widths ()
|
||
|
+static void opt_widths (void)
|
||
|
{
|
||
|
comdef_t *d;
|
||
|
comdef_t *current_section = NULL;
|