v1.3.33

Peter K (pko@paradigm.co.za)
Wed, 11 Oct 1995 16:16:59 +0200 (GMT+0200)


Hi, gang

Compiling in sound renders the following gumph
soundcard.c: At top level:
soundcard.c:223: conflicting types for `soundcard_init'
sound_calls.h:97: previous declaration of `soundcard_init'
soundcard.c: In function `soundcard_init':
soundcard.c:230: too few arguments to function `sndtable_init'
soundcard.c:239: too few arguments to function `DMAbuf_init'
soundcard.c:240: too few arguments to function `audio_init'
soundcard.c:251: too few arguments to function `sequencer_init'
make[2]: *** [soundcard.o] Error 1

In sound_calls.h soundcard_init() is defined as having a 'long mem_start'
parameter while soundcard.c turns it into a void. Sebsequent calls to
sndtable_init(), DMAbuf_init(), audio_init() and sequencer_init() are all
void parameter calls while defined as having a long parameter in the
relevant header files. I dunno what the intent is and during the 5
second glance could not deduce it either :)

While I'm at it, could the maintainers please do something about this as well
soundcard.c: In function `sound_write':
soundcard.c:78: warning: passing arg 3 of `sound_write_sw' discards
`const' from pointer target type

it seems so paltry ...

Peter Kooiman | Fax : ++27-12-663-4191/2
Paradigm Systems Technology |
Pretoria, South Africa | UUCP : pko@silmaril.UUCP
Voice : ++27-12-663-5340 | DNS : pko@paradigm.co.za