mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04: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
2 changed files with 6 additions and 1 deletions
|
|
@ -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