X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=lib%2Fstrftime.h;h=d3b4cb28c52f0773bf31fe163ecf2cb845f6c0a2;hb=fc102289543631b711bc0bbd65c0090262b170b9;hp=c3c183ec9234c58b691d31b75667d3738925b2b9;hpb=4bb481aef2793a2cd25d61113d58da42af2bf8a8;p=gnulib.git diff --git a/lib/strftime.h b/lib/strftime.h index c3c183ec9..d3b4cb28c 100644 --- a/lib/strftime.h +++ b/lib/strftime.h @@ -1,6 +1,6 @@ /* declarations for strftime.c - Copyright (C) 2002, 2004, 2008 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2008-2012 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 @@ -17,10 +17,18 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* Just like strftime, but with two more arguments: POSIX requires that strftime use the local timezone information. When __UTC is nonzero and tm->tm_zone is NULL or the empty string, use UTC instead. Use __NS as the number of nanoseconds in the %N directive. */ size_t nstrftime (char *, size_t, char const *, struct tm const *, - int __utc, int __ns); + int __utc, int __ns); + +#ifdef __cplusplus +} +#endif