From dac67a96f772ac579c14be0501737d9d777978dd Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Sun, 4 Mar 2012 12:07:02 +0000 Subject: rename getline() occurrences to get_line(). --- app/fvwm/extras/FvwmCommand/FvwmCommand.c | 4 ++-- app/fvwm/extras/FvwmConsole/FvwmConsoleC.c | 4 ++-- app/fvwm/extras/FvwmConsole/getline.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/fvwm/extras/FvwmCommand/FvwmCommand.c b/app/fvwm/extras/FvwmCommand/FvwmCommand.c index 844269e64..b34262193 100644 --- a/app/fvwm/extras/FvwmCommand/FvwmCommand.c +++ b/app/fvwm/extras/FvwmCommand/FvwmCommand.c @@ -1,4 +1,4 @@ -/* $Id: FvwmCommand.c,v 1.1 2006/11/26 10:53:10 matthieu Exp $ +/* $Id: FvwmCommand.c,v 1.2 2012/03/04 12:07:01 fgsch Exp $ * $Source: /cvs/OpenBSD/xenocara/app/fvwm/extras/FvwmCommand/Attic/FvwmCommand.c,v $ * * Fvwm2 command input interface. @@ -18,7 +18,7 @@ int Fdr, Fdw; /* file discriptor for fifo */ FILE *Frun; /* File contains pid */ char *Fr_name; int Pfd; -char *getline(); +char *get_line(); fd_set fdset; struct timeval Tv; diff --git a/app/fvwm/extras/FvwmConsole/FvwmConsoleC.c b/app/fvwm/extras/FvwmConsole/FvwmConsoleC.c index 62971e13b..8ec790da6 100644 --- a/app/fvwm/extras/FvwmConsole/FvwmConsoleC.c +++ b/app/fvwm/extras/FvwmConsole/FvwmConsoleC.c @@ -3,7 +3,7 @@ int s; /* socket handle */ FILE *sp; char *name; /* name of this program at executing time */ -char *getline(); +char *get_line(); /******************************************/ @@ -74,7 +74,7 @@ int main ( int argc, char *argv[]) { /* loop of get user's command and send it to server */ while( 1 ) { - cmd = getline(); + cmd = get_line(); if (cmd == NULL) { break; } diff --git a/app/fvwm/extras/FvwmConsole/getline.c b/app/fvwm/extras/FvwmConsole/getline.c index 327eadc53..b3ddca604 100644 --- a/app/fvwm/extras/FvwmConsole/getline.c +++ b/app/fvwm/extras/FvwmConsole/getline.c @@ -4,7 +4,7 @@ static char cmd[MAX_COMMAND_SIZE]; /* no readline - starts here */ -char *getline() { +char *get_line() { if( fgets(cmd,MAX_COMMAND_SIZE,stdin) == NULL ) { return(NULL); } @@ -24,7 +24,7 @@ static char *line = (char *)NULL; static int done_init = 0; static char *h_file; -char *getline() +char *get_line() { char *prompt; int len; -- cgit v1.2.3