From 4fbccdf5f05546a3172b6e370b34248db6e92c2a Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sat, 7 Jun 2014 10:38:47 -0400 Subject: [PATCH] removed unneccessary locale code --- ddate.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/ddate.c b/ddate.c index fd9e0a4..1f68e5f 100644 --- a/ddate.c +++ b/ddate.c @@ -31,6 +31,11 @@ 2000-03-17 Burt Holzman - added range checks for dates + + 2014-06-07 William Woodruff + - removed gettext dependent locale code + + FIVE TONS OF FLAX */ /* configuration options VVVVV READ THIS!!! */ @@ -62,12 +67,6 @@ #include #include -// work around includes and defines from formerly nls.h -#include -#include - -#define LOCALEDIR "/usr/share/locale" - // work around includes and defines from formerly c.h #ifndef ARRAY_SIZE @@ -185,10 +184,6 @@ main (int argc, char *argv[]) { if ((p = strrchr(progname, '/')) != NULL) progname = p+1; - setlocale(LC_ALL, ""); - bindtextdomain(PACKAGE, LOCALEDIR); - textdomain(PACKAGE); - srandom(time(NULL)); /* do args here */ for(pi=1; pi