diff --git a/init.c b/init.c index b20b471..d41010b 100644 --- a/init.c +++ b/init.c @@ -107,7 +107,7 @@ static void update_selection(H3270 *session, int start, int end) { } -static void *cursor(H3270 *session, LIB3270_CURSOR id) +static void set_cursor(H3270 *session, LIB3270_CURSOR id) { } @@ -135,7 +135,7 @@ static void lib3270_session_init(H3270 *hSession, const char *model) hSession->resume = screen_disp; hSession->update_oia = update_oia; hSession->update_selection = update_selection; - hSession->cursor = cursor; + hSession->cursor = set_cursor; hSession->sock = -1; hSession->model_num = -1; diff --git a/trace_ds.c b/trace_ds.c index 33ac091..c0a361f 100644 --- a/trace_ds.c +++ b/trace_ds.c @@ -576,7 +576,7 @@ get_tracef_max(void) } */ -/* Parse the name '/dev/fd', so we can simulate it. */ +/* Parse the name '/dev/fd', so we can simulate it. */ /* static int get_devfd(const char *pathname) { @@ -590,6 +590,7 @@ get_devfd(const char *pathname) return -1; return fd; } +*/ /* Callback for "OK" button on trace popup */ /* static void tracefile_callback(Widget w, XtPointer client_data, XtPointer call_data unused) -- libgit2 0.21.2