Diff for /embedaddon/sudo/src/locale_stub.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/10/14 07:56:35 version 1.1.1.3, 2014/06/15 16:12:55
Line 1 Line 1
 /*  /*
 * Copyright (c) 2012 Todd C. Miller <Todd.Miller@courtesan.com> * Copyright (c) 2013 Todd C. Miller <Todd.Miller@courtesan.com>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 21 Line 21
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
   
   #define DEFAULT_TEXT_DOMAIN     "sudo"
   #include "gettext.h"            /* must be included before missing.h */
   
 #include "missing.h"  #include "missing.h"
 #include "fatal.h"  #include "fatal.h"
   
   #ifdef HAVE_LIBINTL_H
 /* No need to swap locales in the front end. */  /* No need to swap locales in the front end. */
voidchar *
warning_set_locale(void)warning_gettext(const char *msgid)
 {  {
    return;    return gettext(msgid);
 }  }
#endif /* HAVE_LIBINTL_H */
void 
warning_restore_locale(void) 
{ 
    return; 
} 

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>