summaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-12 22:52:58 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:22 +0200
commitef7472070942a527be96d3dceface75c8c96d365 (patch)
tree14d614df17fdc5cb540594dfa63f94e31afb7f24 /include/rpc
parent0dd1ccafa75e63f7688e6d55a0158d39ae3aa060 (diff)
libintl.h: add _(x) and N_(x) and use it everywhere
remove _LIBC part from rpc headers include libintl.h to rpc_private.h and use that instead of rpc.h include libintl.h anywhere else needed replacing _(x) and N_(x) Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/auth.h3
-rw-r--r--include/rpc/rpc.h5
-rw-r--r--include/rpc/types.h5
-rw-r--r--include/rpc/xdr.h3
4 files changed, 0 insertions, 16 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index 9a7a7d389..1d5198ca4 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -41,9 +41,6 @@
#ifndef _RPC_AUTH_H
#define _RPC_AUTH_H 1
-#ifdef _LIBC
-#define _(X) X
-#endif
#include <features.h>
#include <rpc/xdr.h>
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index cd5d8a8d7..df0542890 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -38,11 +38,6 @@
#ifndef _RPC_RPC_H
#define _RPC_RPC_H 1
-#ifdef _LIBC
-#define _(X) X
-#include <features.h>
-#endif
-
#include <rpc/types.h> /* some typedefs */
#include <netinet/in.h>
diff --git a/include/rpc/types.h b/include/rpc/types.h
index e166ddfd4..8eff8e718 100644
--- a/include/rpc/types.h
+++ b/include/rpc/types.h
@@ -33,11 +33,6 @@
#ifndef _RPC_TYPES_H
#define _RPC_TYPES_H 1
-#ifdef _LIBC
-#define _(X) X
-#endif
-#include <features.h>
-
typedef int bool_t;
typedef int enum_t;
/* This needs to be changed to uint32_t in the future */
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 24cc8f821..2fbe3e7b9 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -36,9 +36,6 @@
#ifndef _RPC_XDR_H
#define _RPC_XDR_H 1
-#ifdef _LIBC
-# define _(X) X
-#endif
#include <features.h>
#include <sys/types.h>
#include <rpc/types.h>