summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-12-27 06:53:39 +0000
committerSimon Josefsson <simon@josefsson.org>2006-12-27 06:53:39 +0000
commit0425303918de5217453ced5307a30eb179bf6554 (patch)
tree9e65aeb197ae62387f21bccba58907733bec472d /gl
parent7e688b38ed0b9edf21fa2ac58b812e57b55384c6 (diff)
downloadgnutls-0425303918de5217453ced5307a30eb179bf6554.tar.gz
Update.
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/lib-link.m42
-rw-r--r--gl/strdup.h12
2 files changed, 12 insertions, 2 deletions
diff --git a/gl/m4/lib-link.m4 b/gl/m4/lib-link.m4
index b422218dc2..aae42acfb2 100644
--- a/gl/m4/lib-link.m4
+++ b/gl/m4/lib-link.m4
@@ -1,4 +1,4 @@
-# lib-link.m4 serial 10 (gettext-0.16.1)
+# lib-link.m4 serial 10 (gettext-0.16.2)
dnl Copyright (C) 2001-2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gl/strdup.h b/gl/strdup.h
index a0d5fb929c..73e66e3d7a 100644
--- a/gl/strdup.h
+++ b/gl/strdup.h
@@ -1,5 +1,5 @@
/* strdup.h -- duplicate a string
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -21,9 +21,19 @@
/* Get strdup declaration, if available. */
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#if defined HAVE_DECL_STRDUP && !HAVE_DECL_STRDUP && !defined strdup
/* Duplicate S, returning an identical malloc'd string. */
extern char *strdup (const char *s);
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* STRDUP_H_ */