From: Guido van Rossum Date: Tue, 10 Dec 1996 15:21:30 +0000 (+0000) Subject: Make gcc -Wall happy; remove dummy variable (can't see where it's needed). X-Git-Tag: v1.5a1~824 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e29ed8fa7c1d20c13511e37401a984ba78b62169;p=thirdparty%2FPython%2Fcpython.git Make gcc -Wall happy; remove dummy variable (can't see where it's needed). --- diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c index d8b04ffe0c0e..43ccf4872b30 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 +#endif + +#ifdef HAVE_FCNTL_H +#include +#endif + #include #include #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)