diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-03-16 18:44:12 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 04:19:17 -0200 |
commit | 0436471fd8007826d40a2f57710e9964c0768d50 (patch) | |
tree | 55c9523445967d19599582e062e7b5ad4c6121d4 /get_rload.c | |
parent | b91f8e903b1004a35dfe01204852c628367475b7 (diff) |
Compile warning fixes.
Ansify some functions with K&R definitions.
Diffstat (limited to 'get_rload.c')
-rw-r--r-- | get_rload.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/get_rload.c b/get_rload.c index 9629d01..0c4cc61 100644 --- a/get_rload.c +++ b/get_rload.c @@ -15,10 +15,10 @@ #endif #ifdef RLOADSTUB -void GetRLoadPoint( w, closure, call_data ) - Widget w; /* unused */ - XtPointer closure; /* unused */ - XtPointer call_data; /* pointer to (double) return value */ +void GetRLoadPoint( + Widget w, /* unused */ + XtPointer closure, /* unused */ + XtPointer call_data) /* pointer to (double) return value */ { *(double *)call_data = 1.0; @@ -40,11 +40,10 @@ extern XLoadResources resources ; #define WHDRSIZE ((int)(sizeof (buf) - sizeof (buf.wd_we))) -void GetRLoadPoint( w, closure, call_data ) - Widget w; /* unused */ - XtPointer closure; /* unused */ - XtPointer call_data; /* pointer to (double) return value */ - +void GetRLoadPoint( + Widget w, /* unused */ + XtPointer closure, /* unused */ + XtPointer call_data) /* pointer to (double) return value */ { int f; static char *fname = NULL; |