summaryrefslogtreecommitdiff
path: root/src/user/lib/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/libc/include')
-rw-r--r--src/user/lib/libc/include/readline.h1
-rw-r--r--src/user/lib/libc/include/stdio.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/libc/include/readline.h b/src/user/lib/libc/include/readline.h
index 910ad9a..1ec5baa 100644
--- a/src/user/lib/libc/include/readline.h
+++ b/src/user/lib/libc/include/readline.h
@@ -13,6 +13,7 @@ typedef struct _rdln_hist {
#ifdef __cplusplus
extern "C" { namespace libc {
#endif
+char *readln();
char* freadln(FILE f); // minimal line-reading function. user must free the returned value.
char* freadline(FILE f, readline_history *h);
#ifdef __cplusplus
diff --git a/src/user/lib/libc/include/stdio.h b/src/user/lib/libc/include/stdio.h
index f19ce60..72d355a 100644
--- a/src/user/lib/libc/include/stdio.h
+++ b/src/user/lib/libc/include/stdio.h
@@ -12,7 +12,6 @@ extern FILE term;
void print(const char *s);
void printf(const char *s, ...);
-char *readln();
void fprint(FILE f, const char *s);
void fprintf(FILE f, const char *s, ...);