Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: gdb/gnulib/import/localcharset.h

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/gnulib/import/inttypes.in.h ('k') | gdb/gnulib/import/localcharset.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Determine a canonical name for the current locale's character encoding. 1 /* Determine a canonical name for the current locale's character encoding.
2 Copyright (C) 2000-2003 Free Software Foundation, Inc. 2 Copyright (C) 2000-2003, 2009-2012 Free Software Foundation, Inc.
3 This file is part of the GNU CHARSET Library. 3 This file is part of the GNU CHARSET Library.
4 4
5 This program is free software; you can redistribute it and/or modify it 5 This program is free software; you can redistribute it and/or modify
6 under the terms of the GNU Library General Public License as published 6 it under the terms of the GNU General Public License as published by
7 by the Free Software Foundation; either version 2, or (at your option) 7 the Free Software Foundation; either version 3, or (at your option)
8 any later version. 8 any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 Library General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU Library General Public 15 You should have received a copy of the GNU General Public License along
16 License along with this program; if not, write to the Free Software 16 with this program; if not, see <http://www.gnu.org/licenses/>. */
17 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
18 USA. */
19 17
20 #ifndef _LOCALCHARSET_H 18 #ifndef _LOCALCHARSET_H
21 #define _LOCALCHARSET_H 19 #define _LOCALCHARSET_H
22 20
23 21
24 #ifdef __cplusplus 22 #ifdef __cplusplus
25 extern "C" { 23 extern "C" {
26 #endif 24 #endif
27 25
28 26
29 /* Determine the current locale's character encoding, and canonicalize it 27 /* Determine the current locale's character encoding, and canonicalize it
30 into one of the canonical names listed in config.charset. 28 into one of the canonical names listed in config.charset.
31 The result must not be freed; it is statically allocated. 29 The result must not be freed; it is statically allocated.
32 If the canonical name cannot be determined, the result is a non-canonical 30 If the canonical name cannot be determined, the result is a non-canonical
33 name. */ 31 name. */
34 extern const char * locale_charset (void); 32 extern const char * locale_charset (void);
35 33
36 34
37 #ifdef __cplusplus 35 #ifdef __cplusplus
38 } 36 }
39 #endif 37 #endif
40 38
41 39
42 #endif /* _LOCALCHARSET_H */ 40 #endif /* _LOCALCHARSET_H */
OLDNEW
« no previous file with comments | « gdb/gnulib/import/inttypes.in.h ('k') | gdb/gnulib/import/localcharset.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698