Mercurial > hg > xemacs-beta
diff src/libsst.c @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | 131b0175ea99 |
children | 697ef44129c6 |
line wrap: on
line diff
--- a/src/libsst.c Mon Aug 13 11:12:06 2007 +0200 +++ b/src/libsst.c Mon Aug 13 11:13:30 2007 +0200 @@ -20,29 +20,25 @@ #include "lisp.h" #endif -#ifdef STDC_HEADERS #include <stdlib.h> -#endif +#include <stdio.h> +#include <fcntl.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif -#include <stdio.h> -#include <fcntl.h> #include "libsst.h" #define AUDBUF 1024 -extern void usleep(); - int sst_open(play_level, record_level) int play_level, record_level; { int fd, i, gr, ger, gx; struct audio_ioctl ai; - char *getenv(), *ep; + char *ep; fd = open( "/dev/audio", O_RDWR ); if ( fd < 0 )