[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warning during compilation of fileio.c
From: |
Kenichi Handa |
Subject: |
Re: Warning during compilation of fileio.c |
Date: |
Sun, 23 Mar 2003 11:09:09 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, address@hidden (Kim F. Storm) writes:
> gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I.
> -I/home/kfs/fsf/emacs/src -D_BSD_SOURCE -I/usr/X11R6/include -g
> -O2 fileio.c
> fileio.c: In function `Ffile_name_directory':
> fileio.c:450: warning: passing arg 1 of `make_specified_string' discards
> `const' from pointer target type
> fileio.c: In function `Ffile_name_nondirectory':
> fileio.c:489: warning: passing arg 1 of `make_specified_string' discards
> `const' from pointer target type
I've just installed these changes.
2003-03-23 Kenichi Handa <address@hidden>
* alloc.c (make_string_from_bytes): Add `const' for the arg
CONTENTS.
(make_specified_string): Likewise.
* lisp.h (make_string_from_bytes, make_specified_string):
Prototypes adjusted.
---
Ken'ichi HANDA
address@hidden