Commit 400c5102 authored by Niels Möller's avatar Niels Möller
Browse files

Include queue.h

Rev: src/sexp_parser.c:1.14
Rev: src/sexp_streamed_parser.c:1.20
Rev: src/sexp_test.c:1.12
parent 34df3504
......@@ -29,6 +29,7 @@
#include "digits.h"
#include "format.h"
#include "parse_macros.h"
#include "queue.h"
#include "werror.h"
#include "xalloc.h"
......
......@@ -29,6 +29,7 @@
#include "command.h"
#include "digits.h"
#include "format.h"
#include "queue.h"
#include "sexp.h"
#include "werror.h"
#include "xalloc.h"
......
......@@ -101,7 +101,7 @@ int main(int argc UNUSED, char **argv UNUSED)
init_backend(backend);
write = io_write(make_io_fd(backend, STDOUT_FILENO, &handler),
write = io_write(make_lsh_fd(backend, STDOUT_FILENO, &handler),
BLOCK_SIZE, NULL)->write_buffer;
out->super.handler = do_output_sexp;
......@@ -112,7 +112,7 @@ int main(int argc UNUSED, char **argv UNUSED)
close->output = write;
close->status = &status;
io_read(make_io_fd(backend, STDIN_FILENO, &handler),
io_read(make_lsh_fd(backend, STDIN_FILENO, &handler),
make_buffered_read(BLOCK_SIZE,
make_read_sexp(&out->super, SEXP_TRANSPORT, 1)),
&close->super);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment