Mercurial > hg > xemacs-beta
comparison src/input-method-motif.c @ 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 | 70921960b980 |
children | 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
38 #endif | 38 #endif |
39 | 39 |
40 | 40 |
41 /* Create X input method for device */ | 41 /* Create X input method for device */ |
42 void | 42 void |
43 XIM_init_device (struct device *d) | 43 XIM_init_device (struct device *UNUSED (d)) |
44 { | 44 { |
45 /* Nothing to do */ | 45 /* Nothing to do */ |
46 } | 46 } |
47 | 47 |
48 /* Callback for the deleting frame. */ | 48 /* Callback for the deleting frame. */ |
49 static void | 49 static void |
50 XIM_delete_frame (Widget w, XtPointer client_data, XtPointer call_data) | 50 XIM_delete_frame (Widget UNUSED (w), XtPointer client_data, |
51 XtPointer UNUSED (call_data)) | |
51 { | 52 { |
52 XmImUnregister ((Widget) client_data); | 53 XmImUnregister ((Widget) client_data); |
53 } | 54 } |
54 | 55 |
55 void | 56 void |
113 | 114 |
114 XtAddCallback (w, XmNdestroyCallback, XIM_delete_frame, (XtPointer) w); | 115 XtAddCallback (w, XmNdestroyCallback, XIM_delete_frame, (XtPointer) w); |
115 } | 116 } |
116 | 117 |
117 void | 118 void |
118 XIM_SetGeometry (struct frame *f) | 119 XIM_SetGeometry (struct frame *UNUSED (f)) |
119 { | 120 { |
120 } | 121 } |
121 | 122 |
122 void | 123 void |
123 XIM_SetSpotLocation (struct frame *f, int x, int y) | 124 XIM_SetSpotLocation (struct frame *f, int x, int y) |