comparison lwlib/xlwgcs.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 c33ae14dd6d0
children 5460287a3327
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
229 229
230 /* Allocate a GC somewhere between two colors. */ 230 /* Allocate a GC somewhere between two colors. */
231 231
232 GC 232 GC
233 AllocShadeGC(Widget w, Pixel fg, Pixel bg, Font font, 233 AllocShadeGC(Widget w, Pixel fg, Pixel bg, Font font,
234 int contrast, Bool be_nice_to_cmap) 234 int contrast,
235 #ifdef HAVE_XMU
236 Bool be_nice_to_cmap
237 #else
238 Bool UNUSED (be_nice_to_cmap)
239 #endif
240 )
235 { 241 {
236 XGCValues values ; 242 XGCValues values ;
237 unsigned long vmask, dcmask ; 243 unsigned long vmask, dcmask ;
238 244
239 values.foreground = fg ; 245 values.foreground = fg ;
316 } 322 }
317 323
318 /* return arm-shadow gc. */ 324 /* return arm-shadow gc. */
319 325
320 GC 326 GC
321 AllocArmGC(Widget w, int contrast, Bool be_nice_to_cmap) 327 AllocArmGC(Widget w, int contrast,
328 #ifdef HAVE_XMU
329 Bool be_nice_to_cmap
330 #else
331 Bool UNUSED (be_nice_to_cmap)
332 #endif
333 )
322 { 334 {
323 Screen *scr = XtScreen (w); 335 Screen *scr = XtScreen (w);
324 XGCValues values ; 336 XGCValues values ;
325 337
326 /* Not clear exactly what we should do here. Take a look at 338 /* Not clear exactly what we should do here. Take a look at
512 } 524 }
513 525
514 #if XtSpecificationRelease < 5 526 #if XtSpecificationRelease < 5
515 527
516 static GC 528 static GC
517 XtAllocateGC(Widget w, int depth, unsigned long mask, XGCValues *values, 529 XtAllocateGC(Widget w, int UNUSED (depth), unsigned long mask,
518 unsigned long dynamic, unsigned long dontcare) 530 XGCValues *values, unsigned long UNUSED (dynamic),
531 unsigned long UNUSED (dontcare))
519 { 532 {
520 return XtGetGC(w, mask, values) ; 533 return XtGetGC(w, mask, values) ;
521 } 534 }
522 #endif 535 #endif
523 536