1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00

Merge: * charset.c: conform to C89 pointer rules

This commit is contained in:
Paul Eggert 2011-02-05 02:00:31 -08:00
commit d154c079dd
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
* charset.c: conform to C89 pointer rules
(define_charset_internal): Switch between char * and unsigned char *.
* xmenu.c: conform to C89 const rules
(xmenu_show, xdialog_show): Declare local var as char *, not
const char *, to stay compatible with C89 const rules.

View File

@ -1253,12 +1253,13 @@ usage: (define-charset-internal ...) */)
static int
define_charset_internal (Lisp_Object name,
int dimension,
const unsigned char *code_space,
const char *code_space_chars,
unsigned min_code, unsigned max_code,
int iso_final, int iso_revision, int emacs_mule_id,
int ascii_compatible, int supplementary,
int code_offset)
{
const unsigned char *code_space = (const unsigned char *) code_space_chars;
Lisp_Object args[charset_arg_max];
Lisp_Object plist[14];
Lisp_Object val;