diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-12 17:32:36 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-12 17:32:36 -0200 |
commit | b86d1b71813cfa582aa28356ee6a2196a67ba8d4 (patch) | |
tree | 95aa0a4af36e5736d93814d29709e09bfaf8e7b1 /setvalues.c | |
parent | 82c17cd232a016f0c552f38453774abfb0bf17fe (diff) |
Ansification and compile warning fixes.
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects
make distcheck and all gcc 4.3 and sparse warnings.
Diffstat (limited to 'setvalues.c')
-rw-r--r-- | setvalues.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/setvalues.c b/setvalues.c index 5c4ac3b..810d4f7 100644 --- a/setvalues.c +++ b/setvalues.c @@ -49,8 +49,7 @@ in this Software without prior written authorization from The Open Group. */ char * -PrintSetValuesError(event) -Event * event; +PrintSetValuesError(Event *event) { char * errors = NULL; WNode * node; @@ -86,9 +85,7 @@ Event * event; */ char * -GetResourceValueForSetValues(node, size) -WNode * node; -unsigned short * size; +GetResourceValueForSetValues(WNode *node, unsigned short *size) { Arg args[1]; char *ptr, *temp; |