aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/spadbuf.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-05-21 12:58:52 +0000
committerdos-reis <gdr@axiomatics.org>2008-05-21 12:58:52 +0000
commitc145229d7f609447ec9342f60643c62e35bd553f (patch)
tree8beeb41a7a55409d493ca87c93c4cfb4e4bdcca1 /src/hyper/spadbuf.c
parent28aeada5c757a5a997526f74a471cf0c56c6b473 (diff)
downloadopen-axiom-c145229d7f609447ec9342f60643c62e35bd553f.tar.gz
* hyper/hyper.h (connect_spad): Declare.
(gPageBeingParsed): Likewise. * hyper/htadd.c (session_server): Remove. (MenuServerOpened): Likewise. (gXDisplay): Likewise. (gXScreenNumber): Likewise. * hyper/lex.c (reset_connection): Move to hyper/parse.c (connect_spad): Move to hyper/spadint.c (spad_busy): Likewise. (get_char1): Remove conditional code. * hyper/Makefile.in (mostclean-local): Tidy.
Diffstat (limited to 'src/hyper/spadbuf.c')
-rw-r--r--src/hyper/spadbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyper/spadbuf.c b/src/hyper/spadbuf.c
index dbe926ea..98c1687a 100644
--- a/src/hyper/spadbuf.c
+++ b/src/hyper/spadbuf.c
@@ -46,7 +46,7 @@
#include <sys/types.h>
#include <sys/time.h>
#include <signal.h>
-
+#include "halloc.h"
#include "bsdsignal.h"
#include "sockio.h"
#include "edible.h"
@@ -136,7 +136,7 @@ interp_io(void)
return;
}
if (FD_ISSET(session_sock->socket, &rd)) {
- len = sread(session_sock, buf, 1024, "stdio");
+ len = sread(session_sock, (openaxiom_byte*) buf, 1024, "stdio");
if (len == -1)
return;
else {