summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-05 19:35:51 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-05 19:37:17 +0200
commitfa0ee9d65bca974cbaf85d1f0599a068ffc5ff48 (patch)
treec23b1d46ee68161db7d9a76f2c939c04fda0f90a
parent1acd41eafe82a432fa98b6df280f6128b31b005e (diff)
downloadxK-fa0ee9d65bca974cbaf85d1f0599a068ffc5ff48.tar.gz
xK-fa0ee9d65bca974cbaf85d1f0599a068ffc5ff48.tar.xz
xK-fa0ee9d65bca974cbaf85d1f0599a068ffc5ff48.zip
degesch: better section dividers in soure code
And remove an extra function declaration.
-rw-r--r--degesch.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/degesch.c b/degesch.c
index d5716a5..f845129 100644
--- a/degesch.c
+++ b/degesch.c
@@ -157,7 +157,7 @@ input_free (struct input *self)
free (self->prompt);
}
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// --- GNU Readline ------------------------------------------------------------
#ifdef HAVE_READLINE
@@ -399,7 +399,7 @@ input_show (struct input *self)
#endif // HAVE_READLINE
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// --- BSD Editline ------------------------------------------------------------
#ifdef HAVE_EDITLINE
@@ -407,7 +407,6 @@ input_show (struct input *self)
#define INPUT_END_IGNORE '\x01'
static void app_editline_init (struct input *self);
-static void on_editline_input (struct input *self, char *line);
static void
input_ding (struct input *self)
@@ -5000,7 +4999,7 @@ irc_connect (struct server *s, bool *should_retry, struct error **e)
return true;
}
-// --- User interface actions --------------------------------------------------
+// --- GNU Readline user actions -----------------------------------------------
#ifdef HAVE_READLINE
@@ -5128,7 +5127,7 @@ app_readline_init (void)
#endif // HAVE_READLINE
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// --- BSD Editline user actions -----------------------------------------------
#ifdef HAVE_EDITLINE