summaryrefslogtreecommitdiff
path: root/app/fvwm/extras
diff options
context:
space:
mode:
Diffstat (limited to 'app/fvwm/extras')
-rw-r--r--app/fvwm/extras/FvwmCommand/FvwmCommand.c4
-rw-r--r--app/fvwm/extras/FvwmConsole/FvwmConsoleC.c4
-rw-r--r--app/fvwm/extras/FvwmConsole/getline.c4
3 files changed, 6 insertions, 6 deletions
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;