aboutsummaryrefslogtreecommitdiff
path: root/smash/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'smash/main.c')
-rw-r--r--smash/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/smash/main.c b/smash/main.c
index 4d81f18..48aaed6 100644
--- a/smash/main.c
+++ b/smash/main.c
@@ -12,7 +12,7 @@
#define BUFSIZ 16384
char buf[BUFSIZ] = {0};
-int getline(int fd, char *linebuf)
+int io_getline(int fd, char *linebuf)
{
u64 size = 0;
char *line = buf;
@@ -73,7 +73,7 @@ int main(int argc, char *argv[], char *envp[])
if (fd == STDIN_FD)
wstd(prompt);
- line_length = getline(fd, linebuf);
+ line_length = io_getline(fd, linebuf);
if (line_length == -1) {
break;