diff options
author | Guido van Rossum <guido@python.org> | 1996-12-10 15:21:30 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-10 15:21:30 +0000 |
commit | 8b97bdb4958fe289c233ea76d29cb80eb755a0c6 (patch) | |
tree | 203ab20827f500376471a50868159e76cc300b56 /Modules/sunaudiodev.c | |
parent | bcec61c236ccce354e86df3a4c6f393f1286605e (diff) | |
download | cpython-8b97bdb4958fe289c233ea76d29cb80eb755a0c6.tar.gz |
Make gcc -Wall happy; remove dummy variable (can't see where it's needed).
Diffstat (limited to 'Modules/sunaudiodev.c')
-rw-r--r-- | Modules/sunaudiodev.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c index d8b04ffe0c..43ccf4872b 100644 --- a/Modules/sunaudiodev.c +++ b/Modules/sunaudiodev.c @@ -39,6 +39,14 @@ PERFORMANCE OF THIS SOFTWARE. #define SOLARIS #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + +#ifdef HAVE_FCNTL_H +#include <fcntl.h> +#endif + #include <stropts.h> #include <sys/ioctl.h> #ifdef SOLARIS @@ -69,8 +77,6 @@ static sadstatusobject *sads_alloc(); /* Forward */ static object *SunAudioError; -static int dummy_for_dl; - #define is_sadobject(v) ((v)->ob_type == &Sadtype) #define is_sadstatusobject(v) ((v)->ob_type == &Sadstatustype) |