X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fsound.c;h=550254e16e0154c2b306e06199566c55bf4777a2;hp=9bdedb932d852287e885bd01cefea4db63f76a09;hb=762383636a99307282c2d93d26c35c046ec24da1;hpb=e31bfd1501359ce20fe1caf6b913a019318ec83c diff --git a/src/sound.c b/src/sound.c index 9bdedb9..550254e 100644 --- a/src/sound.c +++ b/src/sound.c @@ -37,12 +37,10 @@ Boston, MA 02111-1307, USA. */ #include "redisplay.h" #include "sysdep.h" -#ifdef HAVE_UNISTD_H -#include -#endif +#include "sysfile.h" #ifdef HAVE_NATIVE_SOUND -# include +# include "sysproc.h" # include "nativesound.h" #endif @@ -279,7 +277,7 @@ See the variable `sound-alist'. /* variable `sound' is anything that can be a cdr in sound-alist */ Lisp_Object new_volume, pitch, duration, data; int loop_count = 0; - int vol, pit, dur, succes; + int vol, pit, dur; struct device *d = decode_device (device); /* NOTE! You'd better not signal an error in here. */ @@ -335,6 +333,7 @@ See the variable `sound-alist'. { Extbyte *soundext; Extcount soundextlen; + int succes; TO_EXTERNAL_FORMAT (LISP_STRING, sound, ALLOCA, (soundext, soundextlen), Qbinary); @@ -355,6 +354,7 @@ See the variable `sound-alist'. { const Extbyte *soundext; Extcount soundextlen; + int succes; TO_EXTERNAL_FORMAT (LISP_STRING, sound, ALLOCA, (soundext, soundextlen),