summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/yppush/yppush.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:12:33 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:12:33 +0000
commit1626c644fa840e7d0e3178a0c02abb959cbb2d39 (patch)
tree6ccdff5f99d9f696c32990e7e7300e577ecb2010 /usr.sbin/ypserv/yppush/yppush.h
parentbdd29b5fbbe2dc1fb578b767909cfc64b6db403b (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'usr.sbin/ypserv/yppush/yppush.h')
-rw-r--r--usr.sbin/ypserv/yppush/yppush.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/yppush/yppush.h b/usr.sbin/ypserv/yppush/yppush.h
index 3f146f57b4f..67284763adf 100644
--- a/usr.sbin/ypserv/yppush/yppush.h
+++ b/usr.sbin/ypserv/yppush/yppush.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppush.h,v 1.2 1996/05/30 09:53:20 deraadt Exp $ */
+/* $OpenBSD: yppush.h,v 1.3 1997/07/25 20:12:32 mickey Exp $ */
/*
* Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se>
@@ -58,7 +58,7 @@ enum yppush_status {
typedef enum yppush_status yppush_status;
#ifdef __cplusplus
extern "C" bool_t xdr_yppush_status(XDR *, yppush_status*);
-#elif __STDC__
+#elif defined(__STDC__)
extern bool_t xdr_yppush_status(XDR *, yppush_status*);
#else /* Old Style C */
bool_t xdr_yppush_status();
@@ -72,7 +72,7 @@ struct yppushresp_xfr {
typedef struct yppushresp_xfr yppushresp_xfr;
#ifdef __cplusplus
extern "C" bool_t xdr_yppushresp_xfr(XDR *, yppushresp_xfr*);
-#elif __STDC__
+#elif defined(__STDC__)
extern bool_t xdr_yppushresp_xfr(XDR *, yppushresp_xfr*);
#else /* Old Style C */
bool_t xdr_yppushresp_xfr();
@@ -90,7 +90,7 @@ extern "C" void * yppushproc_null_1_svc(void *, struct svc_req *);
extern "C" void * yppushproc_xfrresp_1(yppushresp_xfr *, CLIENT *);
extern "C" void * yppushproc_xfrresp_1_svc(yppushresp_xfr *, struct svc_req *);
-#elif __STDC__
+#elif defined(__STDC__)
#define YPPUSHPROC_NULL ((u_long)0)
extern void * yppushproc_null_1(void *, CLIENT *);
extern void * yppushproc_null_1_svc(void *, struct svc_req *);