]> git.droids-corp.org - libcmdline.git/blobdiff - src/lib/cmdline.h
cmdline (merge-intel): fix warnings when compiing with -D_FORTIFY_SOURCE=2
[libcmdline.git] / src / lib / cmdline.h
index 60a3bbb4ebc35f3ee5109ad3926a02e42c64db4c..d8a738442c7e3c3725bc1a63b61217c24c258ce7 100644 (file)
@@ -80,7 +80,7 @@ void cmdline_set_prompt(struct cmdline *cl, const char *prompt);
 void cmdline_free(struct cmdline *cl);
 void cmdline_printf(const struct cmdline *cl, const char *fmt, ...);
 int cmdline_in(struct cmdline *cl, const char *buf, int size);
 void cmdline_free(struct cmdline *cl);
 void cmdline_printf(const struct cmdline *cl, const char *fmt, ...);
 int cmdline_in(struct cmdline *cl, const char *buf, int size);
-void cmdline_write_char(struct rdline *rdl, char c);
+int cmdline_write_char(struct rdline *rdl, char c);
 void cmdline_interact(struct cmdline *cl);
 void cmdline_quit(struct cmdline *cl);
 
 void cmdline_interact(struct cmdline *cl);
 void cmdline_quit(struct cmdline *cl);