Do Andrey's homework :) before merging this into 2.2:

. add idempotency #ifdef
. avoid sloppy common-style external declaration.
This commit is contained in:
Joerg Wunsch 1997-02-08 14:04:30 +00:00
parent 17d9b79a9f
commit cc551f25f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22428
2 changed files with 6 additions and 1 deletions

View file

@ -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;

View file

@ -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 */