Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/woodruffw/ddate into woodru…
Browse files Browse the repository at this point in the history
…ffw-master

Conflicts:
	ddate.c
  • Loading branch information
Philipp Möller committed Jun 20, 2014
2 parents ee648b9 + 4fbccdf commit dd5f5be
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions ddate.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@
2000-03-17 Burt Holzman <[email protected]>
- added range checks for dates
2014-06-07 William Woodruff <[email protected]>
- removed gettext dependent locale code
15th of Confusion, 3180:
- call out adherents of the wrong fruit
FIVE TONS OF FLAX
*/

/* configuration options VVVVV READ THIS!!! */
Expand Down Expand Up @@ -70,12 +75,6 @@
#include <time.h>
#include <stdio.h>

// work around includes and defines from formerly nls.h
#include <locale.h>
#include <libintl.h>

#define LOCALEDIR "/usr/share/locale"


// work around includes and defines from formerly c.h
#ifndef ARRAY_SIZE
Expand Down Expand Up @@ -196,10 +195,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<argc; pi++) {
Expand Down

0 comments on commit dd5f5be

Please sign in to comment.