From: Borg Date: Sat, 3 Oct 2009 11:06:00 +0000 (+0200) Subject: Removed last gettext function. X-Git-Tag: release-1.0.10~11 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=430c90412c521c534113b3c4e5fc883e9b7ecff0;p=tinc Removed last gettext function. --- diff --git a/lib/getopt.c b/lib/getopt.c index fce2f0c7..b2f88b42 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -85,8 +85,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #define getpid() GetCurrentProcessId() #endif -#include "gettext.h" - /* This version of `getopt' appears to the caller like standard Unix `getopt' but it behaves differently for the user, since it allows the user to intersperse the options with the other arguments. diff --git a/src/bsd/device.c b/src/bsd/device.c index ee9b0e53..fd1f35dd 100644 --- a/src/bsd/device.c +++ b/src/bsd/device.c @@ -209,7 +209,7 @@ bool read_packet(vpn_packet_t *packet) { break; default: ifdebug(TRAFFIC) logger(LOG_ERR, - _ ("Unknown IP version %d while reading packet from %s %s"), + "Unknown IP version %d while reading packet from %s %s", packet->data[14] >> 4, device_info, device); return false; } @@ -240,7 +240,7 @@ bool read_packet(vpn_packet_t *packet) { default: ifdebug(TRAFFIC) logger(LOG_ERR, - _ ("Unknown address family %x while reading packet from %s %s"), + "Unknown address family %x while reading packet from %s %s", ntohl(type), device_info, device); return false; } diff --git a/src/solaris/device.c b/src/solaris/device.c index 43938006..e26dc06c 100644 --- a/src/solaris/device.c +++ b/src/solaris/device.c @@ -131,7 +131,7 @@ bool read_packet(vpn_packet_t *packet) { break; default: ifdebug(TRAFFIC) logger(LOG_ERR, - _ ("Unknown IP version %d while reading packet from %s %s"), + "Unknown IP version %d while reading packet from %s %s", packet->data[14] >> 4, device_info, device); return false; }