X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrftime.h;h=3410568a9a45ab6349fcbe93029a8d4380ed42ff;hb=b41ff9f532d1755fd1267e6ea4f9d744dc95ec67;hp=c3c183ec9234c58b691d31b75667d3738925b2b9;hpb=4bb481aef2793a2cd25d61113d58da42af2bf8a8;p=gnulib.git diff --git a/lib/strftime.h b/lib/strftime.h index c3c183ec9..3410568a9 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-2011 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