projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more people who have contributed to tinc.
[oweals/tinc.git]
/
lib
/
xmalloc.c
diff --git
a/lib/xmalloc.c
b/lib/xmalloc.c
index e86fb0707c687a64c4781f9f665bbee7e97a4eac..e7541bddeefb4f40f72eae67da7670a735470a1e 100644
(file)
--- a/
lib/xmalloc.c
+++ b/
lib/xmalloc.c
@@
-32,15
+32,7
@@
void *realloc ();
void free ();
#endif
void free ();
#endif
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define textdomain(Domain)
-# define _(Text) Text
-#endif
-#define N_(Text) Text
-
+#include "gettext.h"
#include "xalloc.h"
#ifndef EXIT_FAILURE
#include "xalloc.h"
#ifndef EXIT_FAILURE
@@
-127,7
+119,7
@@
xrealloc (p, n)
/* Duplicate a string */
/* Duplicate a string */
-char *xstrdup(char *s)
+char *xstrdup(c
onst c
har *s)
{
char *p;
{
char *p;