summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hftctl.c2
-rw-r--r--src/strftime.c2
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) ()