summaryrefslogtreecommitdiff
path: root/setvalues.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-12 17:32:36 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-12 17:32:36 -0200
commitb86d1b71813cfa582aa28356ee6a2196a67ba8d4 (patch)
tree95aa0a4af36e5736d93814d29709e09bfaf8e7b1 /setvalues.c
parent82c17cd232a016f0c552f38453774abfb0bf17fe (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.c7
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;