X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=interactive.c;h=484f9550cae9a8e03e2cd76843bd03d7d25fb825;hp=c5cdf12ea3781d9bc0b5ca860f2a642d6161dafa;hb=8c74f69967ee4d6dff3970735c8bc83ea1aae4cb;hpb=ba0c0797c76a2c94cb4a9f6938274fea5ba0226f diff --git a/interactive.c b/interactive.c index c5cdf12e..484f9550 100644 --- a/interactive.c +++ b/interactive.c @@ -1,21 +1,19 @@ /* - * Copyright (C) 2011-2014 Andre Noll + * Copyright (C) 2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file interactive.c Readline abstraction for interactive sessions. */ +#include "para.h" + #include -#include -#include #include #include #include -#include #include -#include "para.h" #include "fd.h" #include "buffer_tree.h" #include "list.h" @@ -314,7 +312,7 @@ free_line: free(line); } -static int i9e_post_select(__a_unused struct sched *s, __a_unused struct task *t) +static int i9e_post_select(__a_unused struct sched *s, __a_unused void *context) { int ret; struct i9e_client_info *ici = i9ep->ici; @@ -371,7 +369,7 @@ out: return ret; } -static void i9e_pre_select(struct sched *s, __a_unused struct task *t) +static void i9e_pre_select(struct sched *s, __a_unused void *context) { int ret;