diff options
| author | Paul Eggert | 2012-08-18 16:53:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-18 16:53:43 -0700 |
| commit | e757f1c6f393cf82057dbee0a4325b07f0fd55c4 (patch) | |
| tree | 114b122ca03e38109f46b2aac0ab3334bc68a569 /src/lisp.h | |
| parent | 51e6d6b2f5799ae3fc9c33930e0c4b456e1bbbdd (diff) | |
| download | emacs-e757f1c6f393cf82057dbee0a4325b07f0fd55c4.tar.gz emacs-e757f1c6f393cf82057dbee0a4325b07f0fd55c4.zip | |
port new setting code to Sun C 5.8 2005/10/13
* chartab.c, lisp.h (char_table_set, char_table_set_range):
Return void, not Lisp_Object. Otherwise, the compiler
complains about (A?B:C) where B is void and C is Lisp_Object
when compiling CHAR_TABLE_SET, due to the recent change to
the API of sub_char_table_set_contents.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h index 4a6edcda53c..f08e7af8959 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2915,9 +2915,8 @@ extern Lisp_Object copy_char_table (Lisp_Object); | |||
| 2915 | extern Lisp_Object char_table_ref (Lisp_Object, int); | 2915 | extern Lisp_Object char_table_ref (Lisp_Object, int); |
| 2916 | extern Lisp_Object char_table_ref_and_range (Lisp_Object, int, | 2916 | extern Lisp_Object char_table_ref_and_range (Lisp_Object, int, |
| 2917 | int *, int *); | 2917 | int *, int *); |
| 2918 | extern Lisp_Object char_table_set (Lisp_Object, int, Lisp_Object); | 2918 | extern void char_table_set (Lisp_Object, int, Lisp_Object); |
| 2919 | extern Lisp_Object char_table_set_range (Lisp_Object, int, int, | 2919 | extern void char_table_set_range (Lisp_Object, int, int, Lisp_Object); |
| 2920 | Lisp_Object); | ||
| 2921 | extern int char_table_translate (Lisp_Object, int); | 2920 | extern int char_table_translate (Lisp_Object, int); |
| 2922 | extern void map_char_table (void (*) (Lisp_Object, Lisp_Object, | 2921 | extern void map_char_table (void (*) (Lisp_Object, Lisp_Object, |
| 2923 | Lisp_Object), | 2922 | Lisp_Object), |