annotate nt/inc/langinfo.h @ 109744:fdbd24f8d999

Fix warnings produced by compiling with -Wwrite_strings (i.e. use const char *). * b2m.c (concat, fatal): Use const char*. (main): Don't assign labels a string literal. * ebrowse.c (struct member): filename, def_filename is const. (struct sym): filename, sfilename is const. (struct kw): name is const. (add_sym, yyerror, token_string, insert_keyword, main): Use const char*. * emacsclient.c (message, sock_err_message, send_to_emacs) (quote_argument, set_local_socket) (start_daemon_and_retry_set_socket): Use const char*. * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes) (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes) (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes) (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help) (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help) (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help) (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help) (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters) (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes) (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help) (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes) (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help) (no_lang_help, print_language_names) (get_language_from_interpreter, get_language_from_filename) (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv) (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal) (concat): Use const char*. * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file): Use const char *. * movemail.c (fatal, error, concat): Use const char *. * pop.c (pop_multi_first, socket_connection, sendline): Use conat char*. * pop.h (pop_multi_first): Use const char *. (_ARGS): Remove. * sorted-doc.c (error, fatal, states): Use const char *. * update-game-score.c (get_prefix, write_scores, main): Use const char*.
author Jan D <jan.h.d@swipnet.se>
date Wed, 11 Aug 2010 10:20:34 +0200
parents aeceb2460b39
children 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
73089
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 /* Replacement langinfo.h file for building GNU Emacs on Windows.
100954
aeceb2460b39 Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 94794
diff changeset
2 Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73089
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5
94794
f108de597672 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79734
diff changeset
6 GNU Emacs is free software: you can redistribute it and/or modify
73089
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
94794
f108de597672 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79734
diff changeset
8 the Free Software Foundation, either version 3 of the License, or
f108de597672 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79734
diff changeset
9 (at your option) any later version.
73089
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
94794
f108de597672 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79734
diff changeset
17 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
73089
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 #ifndef _LANGINFO_H
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 #define _LANGINFO_H
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 #include <nl_types.h>
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 enum {
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 CODESET,
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 DAY_1, DAY_2, DAY_3, DAY_4, DAY_5, DAY_6, DAY_7,
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 MON_1, MON_2, MON_3, MON_4, MON_5, MON_6, MON_7, MON_8, MON_9, MON_10,
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 MON_11, MON_12,
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 /* Number of enumerated values. */
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 _NL_NUM
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 };
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 #define CODESET CODESET
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 #define DAY_1 DAY_1
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 #define DAY_2 DAY_2
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 #define DAY_3 DAY_3
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 #define DAY_4 DAY_4
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40 #define DAY_5 DAY_5
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 #define DAY_6 DAY_6
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 #define DAY_7 DAY_7
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 #define MON_1 MON_1
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 #define MON_2 MON_2
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 #define MON_3 MON_3
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 #define MON_4 MON_4
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 #define MON_5 MON_5
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 #define MON_6 MON_6
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 #define MON_7 MON_7
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51 #define MON_8 MON_8
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 #define MON_9 MON_9
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53 #define MON_10 MON_10
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54 #define MON_11 MON_11
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
55 #define MON_12 MON_12
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
56
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 extern char *nl_langinfo (nl_item);
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
58
50e3f65395a1 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
59 #endif /* _LANGINFO_H */
73094
7caa2372b61c Add arch tagline
Miles Bader <miles@gnu.org>
parents: 73089
diff changeset
60
7caa2372b61c Add arch tagline
Miles Bader <miles@gnu.org>
parents: 73089
diff changeset
61 /* arch-tag: a8917b7c-fb2c-4685-902b-742d0f67661b
7caa2372b61c Add arch tagline
Miles Bader <miles@gnu.org>
parents: 73089
diff changeset
62 (do not change this comment) */