From a784e502472fb3a1afa4d01a47c66b52d23e00f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 Jan 2012 23:57:22 -0500 Subject: Remove pre-ISO C support No more __const. --- locale/locale.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'locale/locale.h') diff --git a/locale/locale.h b/locale/locale.h index 2aa19e76ac..7341b47429 100644 --- a/locale/locale.h +++ b/locale/locale.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1991,1992,1995-2002,2007,2009 Free Software Foundation, Inc. +/* Copyright (C) 1991,1992,1995-2002,2007,2009,2012 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -122,7 +123,7 @@ struct lconv /* Set and/or return the current locale. */ -extern char *setlocale (int __category, __const char *__locale) __THROW; +extern char *setlocale (int __category, const char *__locale) __THROW; /* Return the numeric/monetary information for the current locale. */ extern struct lconv *localeconv (void) __THROW; @@ -149,7 +150,7 @@ __END_NAMESPACE_STD datasets. Unlike for the CATEGORY parameter for `setlocale' the CATEGORY_MASK parameter here uses a single bit for each category, made by OR'ing together LC_*_MASK bits above. */ -extern __locale_t newlocale (int __category_mask, __const char *__locale, +extern __locale_t newlocale (int __category_mask, const char *__locale, __locale_t __base) __THROW; /* These are the bits that can be set in the CATEGORY_MASK argument to -- cgit 1.4.1