X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstpncpy.h;h=6dc92a81324d993b9dc2ead31d4c69e3a2db47ab;hb=e57dfac3355164cfbfcb5473a42130dab793fe9f;hp=cf658eb0714e40c5cbaa87ed96847e6aeab3a9e6;hpb=55da53d0db0c7a9fd82b2abc809560b3089df6a5;p=gnulib.git diff --git a/lib/stpncpy.h b/lib/stpncpy.h index cf658eb07..6dc92a813 100644 --- a/lib/stpncpy.h +++ b/lib/stpncpy.h @@ -1,5 +1,5 @@ /* String copying. - Copyright (C) 1995, 2001-2003 Free Software Foundation, Inc. + Copyright (C) 1995, 2001-2004 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 @@ -20,6 +20,12 @@ #include + +#ifdef __cplusplus +extern "C" { +#endif + + #if !HAVE_STPNCPY /* Copy no more than N bytes of SRC to DST, returning a pointer past the @@ -31,4 +37,10 @@ extern char *gnu_stpncpy (char *dst, const char *src, size_t n); #endif + +#ifdef __cplusplus +} +#endif + + #endif /* _STPNCPY_H */