diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1995-03-17 12:18:38 +0000 |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1995-03-17 12:18:38 +0000 |
commit | 9ae5c05b2bce12a7af5798f46c15078b4dcd57c5 (patch) | |
tree | f7f9fc54e9eb5ece7626d56bab951a25796e7178 /Modules/sunaudiodev.c | |
parent | 1dfefd8ecedebdcd619ccda2857378edf78aab63 (diff) | |
download | cpython-9ae5c05b2bce12a7af5798f46c15078b4dcd57c5.tar.gz |
Added some (method) casts.
Diffstat (limited to 'Modules/sunaudiodev.c')
-rw-r--r-- | Modules/sunaudiodev.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c index 49022240b5..fad8debf23 100644 --- a/Modules/sunaudiodev.c +++ b/Modules/sunaudiodev.c @@ -315,19 +315,19 @@ sad_close(self, args) } static struct methodlist sad_methods[] = { - { "read", sad_read }, - { "write", sad_write }, - { "ibufcount", sad_ibufcount }, - { "obufcount", sad_obufcount }, + { "read", (method)sad_read }, + { "write", (method)sad_write }, + { "ibufcount", (method)sad_ibufcount }, + { "obufcount", (method)sad_obufcount }, #define CTL_METHODS 4 - { "getinfo", sad_getinfo }, - { "setinfo", sad_setinfo }, - { "drain", sad_drain }, - { "flush", sad_flush }, + { "getinfo", (method)sad_getinfo }, + { "setinfo", (method)sad_setinfo }, + { "drain", (method)sad_drain }, + { "flush", (method)sad_flush }, #ifdef SOLARIS - { "getdev", sad_getdev }, + { "getdev", (method)sad_getdev }, #endif - { "close", sad_close }, + { "close", (method)sad_close }, {NULL, NULL} /* sentinel */ }; |