summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-03-08 18:55:10 +0000
committerDave Love <fx@gnu.org>2000-03-08 18:55:10 +0000
commiteea0252e8347b1917bd6f23951e7a6d3de1d9869 (patch)
treec006898c4ab80b0c45f795f9cac9b5e84ca420df /src
parentb369fa65688865a61fbbefcee815ca46bf2896bf (diff)
downloademacs-eea0252e8347b1917bd6f23951e7a6d3de1d9869.tar.gz
emacs-eea0252e8347b1917bd6f23951e7a6d3de1d9869.tar.bz2
emacs-eea0252e8347b1917bd6f23951e7a6d3de1d9869.zip
Use PROTOTYPES.
Diffstat (limited to 'src')
-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) ()