From eea0252e8347b1917bd6f23951e7a6d3de1d9869 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 8 Mar 2000 18:55:10 +0000 Subject: [PATCH] Use PROTOTYPES. --- src/hftctl.c | 2 +- src/strftime.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hftctl.c b/src/hftctl.c index 8a264a70a27..a6daf0a1f1b 100644 --- a/src/hftctl.c +++ b/src/hftctl.c @@ -106,7 +106,7 @@ static struct hfctlack ACK = else { (l) -= j; (p) += j; } /*************** function prototypes ***************************/ -#ifdef __STDC__ +#ifdef PROTOTYPES static GT_ACK (int fd, int req, char *buf); static WR_REQ (int fd, int request, int cmdlen, char *cmd, int resplen); static void hft_alrm(int sig); diff --git a/src/strftime.c b/src/strftime.c index 00d50133b35..f2a0e08ce9e 100644 --- a/src/strftime.c +++ b/src/strftime.c @@ -98,7 +98,7 @@ extern char *tzname[]; #endif #ifndef __P -# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +# if defined (PROTOTYPES) # define __P(args) args # else # define __P(args) () -- 2.39.5