summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/setlocale.c
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2002-01-24 15:38:59 +0000
committerphantom <phantom@FreeBSD.org>2002-01-24 15:38:59 +0000
commitca56d88760d760add07fe57fc0308debadee9ff6 (patch)
treeb2b32060785cc0d11b59beff43bd65d1a354e413 /lib/libc/locale/setlocale.c
parent8926dc8e129a56900b40e30f5255bb5eb293f556 (diff)
downloadFreeBSD-src-ca56d88760d760add07fe57fc0308debadee9ff6.zip
FreeBSD-src-ca56d88760d760add07fe57fc0308debadee9ff6.tar.gz
get __time_load_locale() prototype from include file, rather than declare
own
Diffstat (limited to 'lib/libc/locale/setlocale.c')
-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 ee3cdf6..b4c520a 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;
OpenPOWER on IntegriCloud