From 0425303918de5217453ced5307a30eb179bf6554 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 27 Dec 2006 06:53:39 +0000 Subject: Update. --- gl/m4/lib-link.m4 | 2 +- gl/strdup.h | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'gl') 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 +#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_ */ -- cgit v1.2.1