Project

General

Profile

Bug #3853 » closed_clang.patch

Alexander Pyhalov, 2013-06-30 10:22 PM

View differences:

/usr/include/sys/lc_core.h Mon Jul 1 01:54:51 2013
287 287
	void	*data;
288 288
} _LC_core_collate_t;
289 289

  
290

  
290
#if __cplusplus >= 199711L
291
namespace std {
292
#endif
291 293
struct tm;
294
#if __cplusplus >= 199711L
295
}
296

  
297
using std::tm;
298
#endif
299

  
292 300
typedef struct {
293 301
	short	nmethods;	/* no of methods array elements */
294 302
	short	ndefined;	/* no of methods defined in this object */
295
-- /export/home/build/floatingpoint.h	2013-06-29 14:53:34.054766389 +0400
303
++ /usr/include/floatingpoint.h	2013-07-01 01:57:10.430394681 +0400
......
197 180
extern char *fcvt __P((double, int, int *, int *));
198 181
extern char *gcvt __P((double, int, char *));
199 182

  
183
#if __cplusplus >= 199711L
184
namespace std {
185
#endif
200 186
/*
201 187
 * ANSI C Standard says the following entry points should be
202 188
 * prototyped in <stdlib.h>.  They are now, but weren't before.
203 189
 */
204 190
extern double atof __P((const char *));
205 191
extern double strtod __P((const char *, char **));
192
#if __cplusplus >= 199711L
193
}
194

  
195
using std::atof;
196
using std::strtod;
197
#endif /* end of namespace std */
206 198

  
207 199
#undef	_FLOATINGPOINT_FILE
208 200

  
(5-5/6)