From 2cf4ab1d547a63fa6048325ff7ff862454fbdb4f Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sun, 13 Jul 2008 21:40:51 +0800 Subject: [INPUT] Made setinputfd static This function is no longer used anywhere else. Signed-off-by: Herbert Xu --- src/input.c | 3 ++- src/input.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/input.c b/src/input.c index bc84e57..27c4fd1 100644 --- a/src/input.c +++ b/src/input.c @@ -107,6 +107,7 @@ EditLine *el; /* cookie for editline package */ STATIC void pushfile(void); static int preadfd(void); +static void setinputfd(int fd, int push); #ifdef mkinit INCLUDE @@ -422,7 +423,7 @@ out: * interrupts off. */ -void +static void setinputfd(int fd, int push) { if (push) { diff --git a/src/input.h b/src/input.h index 1d6f528..50a7797 100644 --- a/src/input.h +++ b/src/input.h @@ -57,7 +57,6 @@ void pungetc(void); void pushstring(char *, void *); void popstring(void); int setinputfile(const char *, int); -void setinputfd(int, int); void setinputstring(char *); void popfile(void); void popallfiles(void); -- cgit 1.4.1 a83dcf5fa5bf1e'>refs log tree commit diff