Browse Source

Misc changes to get new Nyquist to build

au-ny-api
Leland Lucius 2 years ago
parent
commit
29d35e46e9
  1. 4
      lib-src/libnyquist/nyquist/cmt/cmtio.h
  2. 4
      lib-src/libnyquist/nyquist/cmt/userio.c
  3. 4
      lib-src/libnyquist/nyquist/nyqsrc/seqfnint.c
  4. 6
      lib-src/libnyquist/nyquist/sys/unix/io.c

4
lib-src/libnyquist/nyquist/cmt/cmtio.h

@ -1,7 +1,7 @@
#define NOCHAR -2
int IOinputfd;
int IOnochar;
extern int IOinputfd;
extern int IOnochar;
int IOsetup(int inputfd);
int IOcleanup(void);

4
lib-src/libnyquist/nyquist/cmt/userio.c

@ -153,6 +153,10 @@ extern int debug;
#include "xlisp.h"
#endif
int IOinputfd; /* input file descriptor (usually 0) */
int IOnochar; /* Value to be returned by IOgetchar()
where there is no input to be had */
/****************************************************************************
*

4
lib-src/libnyquist/nyquist/nyqsrc/seqfnint.c

@ -185,6 +185,8 @@ LVAL xlc_seq_get(void)
}
#include "seqmwrite.h"
/* xlc_seq_write_smf -- interface to C routine seq_xlwrite_smf */
/**/
LVAL xlc_seq_write_smf(void)
@ -213,8 +215,6 @@ LVAL xlc_seq_read_smf(void)
}
#include "seqmwrite.h"
#include "seqread.h"
/* xlc_seq_read -- interface to C routine seq_read */

6
lib-src/libnyquist/nyquist/sys/unix/io.c

@ -16,10 +16,10 @@
#include <sgtty.h>
#include "cext.h"
int IOinputfd; /* input file descriptor (usually 0) */
extern int IOinputfd; /* input file descriptor (usually 0) */
int IOnochar; /* Value to be returned by IOgetchar()
where there is no input to be had */
extern int IOnochar; /* Value to be returned by IOgetchar()
where there is no input to be had */
static struct sgttyb IOoldmodes, IOcurrentmodes;
/* Initial and current tty modes */

Loading…
Cancel
Save