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/Deviation.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/Deviation.c')
-rw-r--r-- | utils/hp2ps/Deviation.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/hp2ps/Deviation.c b/utils/hp2ps/Deviation.c index ecf7faba16..fe1be70fcf 100644 --- a/utils/hp2ps/Deviation.c +++ b/utils/hp2ps/Deviation.c @@ -18,7 +18,7 @@ */ void -Deviation() +Deviation(void) { intish i; intish j; @@ -96,8 +96,7 @@ Deviation() } void -Identorder(iflag) - int iflag; /* a funny three-way flag ? WDP 95/03 */ +Identorder(int iflag) /* iflag is a funny three-way flag ? WDP 95/03 */ { int i; int j; |