Mercurial > hg > xemacs-beta
comparison src/esd.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 | 465bd3c7d932 |
children | ecf1ebac70d8 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
35 /* the name given to ESD - I think this should identify ourselves */ | 35 /* the name given to ESD - I think this should identify ourselves */ |
36 #define ESD_NAME "xemacs" | 36 #define ESD_NAME "xemacs" |
37 | 37 |
38 int esd_play_sound_file (Extbyte *file, int vol); | 38 int esd_play_sound_file (Extbyte *file, int vol); |
39 int | 39 int |
40 esd_play_sound_file (Extbyte *file, int vol) | 40 esd_play_sound_file (Extbyte *file, int UNUSED (vol)) |
41 { /* #### FIXME: vol is ignored */ | 41 { /* #### FIXME: vol is ignored */ |
42 return esd_play_file(ESD_NAME, file, 0); | 42 return esd_play_file(ESD_NAME, file, 0); |
43 } | 43 } |
44 | 44 |
45 int esd_play_sound_data (UChar_Binary *data, size_t length, int vol); | 45 int esd_play_sound_data (UChar_Binary *data, size_t length, int vol); |
46 int | 46 int |
47 esd_play_sound_data (UChar_Binary *data, size_t length, int vol) | 47 esd_play_sound_data (UChar_Binary *data, size_t length, int UNUSED (vol)) |
48 { /* #### FIXME: vol is ignored */ | 48 { /* #### FIXME: vol is ignored */ |
49 size_t (*parsesndfile)(void **dayta,size_t *sz,void **outbuf); | 49 size_t (*parsesndfile)(void **dayta,size_t *sz,void **outbuf); |
50 size_t (*sndcnv)(void **dayta,size_t *sz,void **); | 50 size_t (*sndcnv)(void **dayta,size_t *sz,void **); |
51 fmtType ffmt; | 51 fmtType ffmt; |
52 int fmt,speed,tracks; | 52 int fmt,speed,tracks; |