Author: bdonlan
Date: 2004-12-30 01:15:09 -0500 (Thu, 30 Dec 2004)
New Revision: 475
Modified:
trunk/
trunk/clients/ncurses/lineio.c
Log:
[EMAIL PROTECTED]: bdonlan | 2004-12-30T06:13:47.179252Z
Fix some compile errors
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:10213
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
+ 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:10215
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
Modified: trunk/clients/ncurses/lineio.c
===================================================================
--- trunk/clients/ncurses/lineio.c 2004-12-30 05:56:38 UTC (rev 474)
+++ trunk/clients/ncurses/lineio.c 2004-12-30 06:15:09 UTC (rev 475)
@@ -1,4 +1,11 @@
/* vim: set ts=4 sw=4 expandtab si ai sta tw=104: */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <unistd.h>
+#include <assert.h>
+#include "lineio.h"
+#include "mymalloc.h"
+#include "event.h"
struct lineio_conn {
char *outbuf;
@@ -12,11 +19,6 @@
int fd;
};
-#include "lineio.h"
-#include "mymalloc.h"
-#include "event.h"
-#include <stdlib.h>
-#include <unistd.h>
static void lineio_evcallback(int fd, int mode, void *baton);
@@ -71,7 +73,7 @@
} else {
event_addfd(
fd, EVENT_FD_READABLE | EVENT_FD_ERROR,
- lineio_callback, conn);
+ lineio_evcallback, conn);
}
}
if (mode & EVENT_FD_ERROR) {