aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2002-01-24 15:38:59 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2002-01-24 15:38:59 +0000
commita2fb0481d7222f2056a35f03de5e60689493e47a (patch)
treeb2b32060785cc0d11b59beff43bd65d1a354e413
parente9ae7bc23482c20cdefe4845a80cba54bb221534 (diff)
downloadsrc-a2fb0481d7222f2056a35f03de5e60689493e47a.tar.gz
src-a2fb0481d7222f2056a35f03de5e60689493e47a.zip
get __time_load_locale() prototype from include file, rather than declare
own
Notes
Notes: svn path=/head/; revision=89739
-rw-r--r--lib/libc/locale/setlocale.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c
index ee3cdf6bfbac..b4c520a0104b 100644
--- a/lib/libc/locale/setlocale.c
+++ b/lib/libc/locale/setlocale.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996 - 2001 FreeBSD Project
+ * Copyright (c) 1996 - 2002 FreeBSD Project
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
@@ -57,6 +57,7 @@ static char sccsid[] = "@(#)setlocale.c 8.1 (Berkeley) 7/4/93";
#include "lnumeric.h" /* for __numeric_load_locale() */
#include "lmessages.h" /* for __messages_load_locale() */
#include "setlocale.h"
+#include "../stdtime/timelocal.h" /* for __time_load_locale() */
/*
* Category names for getenv()
@@ -95,8 +96,6 @@ static char current_locale_string[_LC_LAST * (ENCODING_LEN + 1/*"/"*/ + 1)];
static char *currentlocale __P((void));
static char *loadlocale __P((int));
-extern int __time_load_locale __P((const char *)); /* strftime.c */
-
char *
setlocale(category, locale)
int category;