diff options
author | Ian Lynagh <igloo@earth.li> | 2011-08-01 01:07:12 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-08-01 01:07:12 +0100 |
commit | 96ebe2fa43b9ee98cd82d31760c57db0fea18495 (patch) | |
tree | 93e6995b75c08c84f2e7fc908ec3634cd64b0e92 /utils/hp2ps/Reorder.c | |
parent | b4a01788a1a833de64cba041c796fa35e0275220 (diff) | |
download | haskell-96ebe2fa43b9ee98cd82d31760c57db0fea18495.tar.gz |
Remove some antiquated C constructs
Fixes validate on amd64/Linux with:
SRC_CC_OPTS += -Wmissing-parameter-type
SRC_CC_OPTS += -Wold-style-declaration
SRC_CC_OPTS += -Wold-style-definition
Diffstat (limited to 'utils/hp2ps/Reorder.c')
-rw-r--r-- | utils/hp2ps/Reorder.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/utils/hp2ps/Reorder.c b/utils/hp2ps/Reorder.c index afeed52d85..2a7fb98375 100644 --- a/utils/hp2ps/Reorder.c +++ b/utils/hp2ps/Reorder.c @@ -20,9 +20,7 @@ static int ordermapindex = 0; void -OrderFor(ident, order) - char* ident; - int order; +OrderFor(char *ident, int order) { if (! ordermap) { ordermapmax = (nidents > TWENTY ? nidents : TWENTY) * 2; @@ -46,8 +44,7 @@ OrderFor(ident, order) */ int -OrderOf(ident) - char* ident; +OrderOf(char *ident) { int i; @@ -65,7 +62,7 @@ OrderOf(ident) */ void -Reorder() +Reorder(void) { intish i; intish j; |