summaryrefslogtreecommitdiff
path: root/utils/hp2ps/AuxFile.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-08-01 01:07:12 +0100
committerIan Lynagh <igloo@earth.li>2011-08-01 01:07:12 +0100
commit96ebe2fa43b9ee98cd82d31760c57db0fea18495 (patch)
tree93e6995b75c08c84f2e7fc908ec3634cd64b0e92 /utils/hp2ps/AuxFile.c
parentb4a01788a1a833de64cba041c796fa35e0275220 (diff)
downloadhaskell-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/AuxFile.c')
-rw-r--r--utils/hp2ps/AuxFile.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/utils/hp2ps/AuxFile.c b/utils/hp2ps/AuxFile.c
index 9998d3fc13..39add0fcde 100644
--- a/utils/hp2ps/AuxFile.c
+++ b/utils/hp2ps/AuxFile.c
@@ -15,8 +15,7 @@ static void GetAuxLine PROTO((FILE *)); /* forward */
static void GetAuxTok PROTO((FILE *)); /* forward */
void
-GetAuxFile(auxfp)
- FILE* auxfp;
+GetAuxFile(FILE *auxfp)
{
ch = ' ';
endfile = 0;
@@ -39,8 +38,7 @@ GetAuxFile(auxfp)
*/
static void
-GetAuxLine(auxfp)
- FILE* auxfp;
+GetAuxLine(FILE *auxfp)
{
switch (thetok) {
case X_RANGE_TOK:
@@ -108,8 +106,7 @@ GetAuxLine(auxfp)
* in the case of identifiers it is assigned to "theident".
*/
-static void GetAuxTok(auxfp)
-FILE* auxfp;
+static void GetAuxTok(FILE *auxfp)
{
while (isspace(ch)) { /* skip whitespace */
@@ -147,8 +144,7 @@ FILE* auxfp;
}
void
-PutAuxFile(auxfp)
- FILE* auxfp;
+PutAuxFile(FILE *auxfp)
{
int i;