diff options
author | Juergen Beisert <jbe@isonoe.(none)> | 2007-10-17 17:51:34 +0200 |
---|---|---|
committer | Juergen Beisert <jbe@isonoe.(none)> | 2007-10-17 17:51:34 +0200 |
commit | 438873e7699dbef8b67c3f3be8a277a12607c6f5 (patch) | |
tree | 191f63ea4a9d29087a4e3d7cd1a536f69f46b7ba /lib/readline_simple.c | |
parent | 7e047fd8799a36c16513e1acf65369c1f51d7f28 (diff) | |
download | barebox-438873e7699dbef8b67c3f3be8a277a12607c6f5.tar.gz barebox-438873e7699dbef8b67c3f3be8a277a12607c6f5.tar.xz |
remove putc references
Diffstat (limited to 'lib/readline_simple.c')
-rw-r--r-- | lib/readline_simple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/readline_simple.c b/lib/readline_simple.c index 7675103ea1..8a6eb816df 100644 --- a/lib/readline_simple.c +++ b/lib/readline_simple.c @@ -23,7 +23,7 @@ static char * delete_char (char *buffer, char *p, int *colp, int *np, int plen) *colp += 8 - ((*colp) & 07); } else { ++(*colp); - putc (*s); + putchar (*s); } } } else { @@ -130,12 +130,12 @@ int readline (const char *prompt, char *line, int len) col += 8 - (col&07); } else { ++col; /* echo input */ - putc (c); + putchar (c); } *p++ = c; ++n; } else { /* Buffer full */ - putc ('\a'); + putchar ('\a'); } } } |