comparison src/ChangeLog @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents 68f116fb679a
children 7fa4bc78a35d
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
1 2004-09-14 Jerry James <james@xemacs.org>
2
3 * compiler.h: Change old UNUSED_ARG into UNUSED_ARG and
4 ATTRIBUTE_UNUSED. Create a new UNUSED macro that works in the
5 common case. Define conservatively for the Intel compiler.
6 * dialog-x.c (dbox_descriptor_to_widget_value): Comment out
7 declaration and assignment of unused variable title.
8 (x_make_dialog_box_internal): Remove unused variable parent.
9 * emacs.c (Fkill_emacs): Uno doesn't grok typeof.
10 * file-coding.c (Fdefine_coding_system_alias): Remove unused
11 variable real_coding_system.
12 * glyphs.c (map_subwindow): Remove unused variable f.
13 * gui-x.c (button_item_to_widget_value): Rename intlen to
14 unused_intlen to quiet Uno.
15 * miscplay.c (UNUSED): Removed in favor of compiler.h version.
16 * mule-canna.c (Fcanna_touroku_string): Remove unused variable
17 len.
18 * mule-canna.c (Fcanna_henkan_next): Remove unused variable endp.
19 * mule-ccl.c (CCL_WRITE_STRING): Remove unused variable bytes and
20 fix some indentation problems.
21 * number-gmp.h: Turn off gcc extensions for Uno.
22 * redisplay-output.c (compare_display_blocks): #if 0 out
23 declaration and assignment of unused variable block_end.
24 * redisplay.c (regenerate_window_extents_only_changed): Remove
25 unused variable new_start.
26 (regenerate_window_incrementally): Ditto.
27 * scrollbar.c (update_scrollbar_instance): #if 0 out declaration
28 and assignment of unused variable new_window.
29 * specifier.c (specifier_instance): Remove unused variable tag.
30 * sysdep.c (tty_init_sys_modes_on_device): Define and assigne
31 variable output_fd only when it will be used.
32 (tty_reset_sys_modes_on_device): Ditto.
33 * sysproc.h: Define the FD_* macros conservatively for Uno.
34 * syssignal.h (SIG_ARG_MAYBE_UNUSED): New macro.
35 * syswait.h: Define the W* macros conservatively for Uno.
36
37 * EmacsFrame.c:
38 * EmacsManager.c:
39 * ExternalClient.c:
40 * ExternalShell.c:
41 * alloc.c:
42 * balloon_help.c:
43 * bytecode.c:
44 * callint.c:
45 * casetab.c:
46 * chartab.c:
47 * cm.c:
48 * cmdloop.c:
49 * console-gtk.c:
50 * console-msw.c:
51 * console-stream.c:
52 * console-tty.c:
53 * console-x.c:
54 * console.c:
55 * data.c:
56 * database.c:
57 * device-gtk.c:
58 * device-msw.c:
59 * device-tty.c:
60 * device-x.c:
61 * device.c:
62 * dialog-gtk.c:
63 * dialog-msw.c:
64 * dired.c:
65 * dumper.c:
66 * editfns.c:
67 * elhash.c:
68 * emacs.c:
69 * esd.c:
70 * eval.c:
71 * event-Xt.c:
72 * event-gtk.c:
73 * event-msw.c:
74 * event-stream.c:
75 * event-tty.c:
76 * events.c:
77 * extents.c:
78 * faces.c:
79 * file-coding.c:
80 * fileio.c:
81 * filemode.c:
82 * floatfns.c:
83 * fns.c:
84 * frame-gtk.c:
85 * frame-msw.c:
86 * frame-tty.c:
87 * frame-x.c:
88 * frame.c:
89 * free-hook.c:
90 * glyphs-eimage.c:
91 * glyphs-gtk.c:
92 * glyphs-msw.c:
93 * glyphs-shared.c:
94 * glyphs-widget.c:
95 * glyphs-x.c:
96 * glyphs.c:
97 * gpmevent.c:
98 * gtk-xemacs.c:
99 * gui-msw.c:
100 * gui-x.c:
101 * gui.c:
102 * gutter.c:
103 * hpplay.c:
104 * input-method-motif.c:
105 * input-method-xlib.c:
106 * intl-win32.c:
107 * intl-x.c:
108 * keymap.c:
109 * lread.c:
110 * lstream.c:
111 * marker.c:
112 * menubar-gtk.c:
113 * menubar-msw.c:
114 * menubar-x.c:
115 * menubar.c:
116 * minibuf.c:
117 * miscplay.c:
118 * mule-charset.c:
119 * mule-coding.c:
120 * nas.c:
121 * native-gtk-toolbar.c:
122 * nt.c:
123 * ntplay.c:
124 * number-gmp.c:
125 * number.c:
126 * objects-gtk.c:
127 * objects-msw.c:
128 * objects-tty.c:
129 * objects-x.c:
130 * objects.c:
131 * opaque.c:
132 * print.c:
133 * process-nt.c:
134 * process-unix.c:
135 * profile.c:
136 * rangetab.c:
137 * redisplay-gtk.c:
138 * redisplay-msw.c:
139 * redisplay-output.c:
140 * redisplay-tty.c:
141 * redisplay-x.c:
142 * redisplay.c:
143 * regex.c:
144 * scrollbar-gtk.c:
145 * scrollbar-msw.c:
146 * scrollbar-x.c:
147 * scrollbar.c:
148 * search.c:
149 * select-gtk.c:
150 * select-msw.c:
151 * select-x.c:
152 * sgiplay.c:
153 * signal.c:
154 * sound.c:
155 * specifier.c:
156 * sunpro.c:
157 * symbols.c:
158 * syntax.c:
159 * sysdep.c:
160 * terminfo.c:
161 * tests.c:
162 * text.c:
163 * text.h:
164 * toolbar-gtk.c:
165 * toolbar-msw.c:
166 * toolbar-x.c:
167 * toolbar.c:
168 * tooltalk.c:
169 * ui-byhand.c:
170 * ui-gtk.c:
171 * unexaix.c:
172 * unexalpha.c:
173 * unexconvex.c:
174 * unexcw.c:
175 * unexec.c:
176 * unexelf.c:
177 * unexelfsgi.c:
178 * unexencap.c:
179 * unexenix.c:
180 * unexfreebsd.c:
181 * unexfx2800.c:
182 * unexhp9k3.c:
183 * unexhp9k800.c:
184 * unexmips.c:
185 * unexnt.c:
186 * unexsni.c:
187 * unexsol2-6.c:
188 * unexsol2.c:
189 * unexsunos4.c:
190 * unicode.c:
191 * vm-limit.c:
192 * win32.c:
193 * window.c:
194 Mark unused parameters with the UNUSED macro.
195
1 2004-09-19 Jerry James <james@xemacs.org> 196 2004-09-19 Jerry James <james@xemacs.org>
2 197
3 * s/windowsnt.h (DECLARE_DOESNT_RETURN_TYPE): Remove extern so 198 * s/windowsnt.h (DECLARE_DOESNT_RETURN_TYPE): Remove extern so
4 that static funcions can be declared. 199 that static funcions can be declared.
5 200