aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtirpc/nis.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-12-16 13:09:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-16 13:09:16 +0000
commit94d5a5ec541a1275519db22a70609a62c1fef88c (patch)
tree270735fb789eb14d8451221dd6b5bcd14b0f2144 /main/libtirpc/nis.h
parent18eb199691fe7b75716793aa8fcb4ad36ea13419 (diff)
downloadaports-94d5a5ec541a1275519db22a70609a62c1fef88c.tar.bz2
aports-94d5a5ec541a1275519db22a70609a62c1fef88c.tar.xz
main/libtirpc: rebase patches
those patches were sent upstream
Diffstat (limited to 'main/libtirpc/nis.h')
-rw-r--r--main/libtirpc/nis.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/libtirpc/nis.h b/main/libtirpc/nis.h
index a03a25f37b..8e29596685 100644
--- a/main/libtirpc/nis.h
+++ b/main/libtirpc/nis.h
@@ -35,7 +35,9 @@
//#include <rpc/rpc.h>
//#include <rpcsvc/nis_tags.h>
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
* nis.h
@@ -536,7 +538,8 @@ typedef enum name_pos name_pos;
#define NIS_PROG 100300
#define NIS_VERSION 3
-
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
#endif /* ! _RPCSVC_NIS_H */