From 430c90412c521c534113b3c4e5fc883e9b7ecff0 Mon Sep 17 00:00:00 2001 From: Borg Date: Sat, 3 Oct 2009 13:06:00 +0200 Subject: [PATCH] Removed last gettext function. --- lib/getopt.c | 2 -- src/bsd/device.c | 4 ++-- src/solaris/device.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) 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; } -- 2.20.1