summaryrefslogtreecommitdiffstats
path: root/Modules/sunaudiodev.c
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1995-03-17 12:18:38 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1995-03-17 12:18:38 (GMT)
commit14ece169ab027c2139918d817fc210a1ee51a4d0 (patch)
treef699af4b3f7dbbd59609288a6eda8718d56b614b /Modules/sunaudiodev.c
parent385e7c69198510a1aa3a50c82f0d458eb34cc5e6 (diff)
downloadcpython-14ece169ab027c2139918d817fc210a1ee51a4d0.zip
cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.tar.gz
cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.tar.bz2
Added some (method) casts.
Diffstat (limited to 'Modules/sunaudiodev.c')
-rw-r--r--Modules/sunaudiodev.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c
index 4902224..fad8deb 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 */
};