mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-25 11:15:34 +00:00
Do Andrey's homework :) before merging this into 2.2:
. add idempotency #ifdef . avoid sloppy common-style external declaration.
This commit is contained in:
parent
17d9b79a9f
commit
cc551f25f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22428
|
@ -98,6 +98,8 @@ extern int __time_load_locale __P((const char *)); /* strftime.c */
|
|||
extern int _xpg4_setrunelocale __P((char *));
|
||||
#endif
|
||||
|
||||
char *_PathLocale;
|
||||
|
||||
char *
|
||||
setlocale(category, locale)
|
||||
int category;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#ifndef _SETLOCALE_H
|
||||
#define _SETLOCALE_H
|
||||
/*
|
||||
* Copyright (C) 1997 by Andrey A. Chernov, Moscow, Russia.
|
||||
* All rights reserved.
|
||||
|
@ -26,5 +28,6 @@
|
|||
|
||||
#define ENCODING_LEN 31
|
||||
|
||||
char *_PathLocale;
|
||||
extern char *_PathLocale;
|
||||
|
||||
#endif /* SETLOCALE_H */
|
||||
|
|
Loading…
Reference in a new issue