changeset 28057:872ca4a12e3d

Use PROTOTYPES.
author Dave Love <fx@gnu.org>
date Wed, 08 Mar 2000 18:55:10 +0000
parents 9ae3ef3133b8
children 6c4bc75d35fe
files src/hftctl.c src/strftime.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hftctl.c	Wed Mar 08 18:53:12 2000 +0000
+++ b/src/hftctl.c	Wed Mar 08 18:55:10 2000 +0000
@@ -106,7 +106,7 @@
           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);
--- a/src/strftime.c	Wed Mar 08 18:53:12 2000 +0000
+++ b/src/strftime.c	Wed Mar 08 18:55:10 2000 +0000
@@ -98,7 +98,7 @@
 #endif
 
 #ifndef __P
-# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+# if defined (PROTOTYPES)
 #  define __P(args) args
 # else
 #  define __P(args) ()