Mercurial > hg > xemacs-beta
diff src/libsst.c @ 438:84b14dcb0985 r21-2-27
Import from CVS: tag r21-2-27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:32:25 +0200 |
parents | 3ecd8885ac67 |
children | 183866b06e0b |
line wrap: on
line diff
--- a/src/libsst.c Mon Aug 13 11:31:26 2007 +0200 +++ b/src/libsst.c Mon Aug 13 11:32:25 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 )