From ef7472070942a527be96d3dceface75c8c96d365 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Mar 2011 22:52:58 +0100 Subject: 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 Signed-off-by: Bernhard Reutner-Fischer --- include/rpc/auth.h | 3 --- include/rpc/rpc.h | 5 ----- include/rpc/types.h | 5 ----- include/rpc/xdr.h | 3 --- 4 files changed, 16 deletions(-) (limited to 'include/rpc') 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 #include 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 -#endif - #include /* some typedefs */ #include 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 - 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 #include #include -- cgit v1.2.3