Commit aa0ef406 authored by Dafydd Harries's avatar Dafydd Harries

test-readline: include unistd.h for read() prototype, mark unused parameter

darcs-hash:20070212162501-c9803-9eedd1146db60d5f40a956aa303aa16d296b889c.gz
parent 66aaecc1
#include <string.h>
#include <unistd.h>
#include <glib.h>
#include "readline.h"
/* this overrides libc read() -- is this reliable? */
int
read (int fd, void *buf, size_t count)
read (
G_GNUC_UNUSED
int fd,
void *buf,
size_t count)
{
static int offset = 0;
gchar *line = "test\n";
......
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