summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:53:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 05:50:21 +0900
commit3dfd404c09e476f721c861337a2c029ee377d457 (patch)
treea4bb0a944171593995ba98e829b3e7360fb9feb1
parenta1e11dc70e9a82211a949061d09e0da0fc96c3e9 (diff)
ddb/db_input.c: add comment after endif
* ddb/db_input.c [DB_HISTORY_SIZE]: Add comment after endif.
-rw-r--r--ddb/db_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ddb/db_input.c b/ddb/db_input.c
index 8f875ad..7fee8fd 100644
--- a/ddb/db_input.c
+++ b/ddb/db_input.c
@@ -133,7 +133,7 @@ db_delete_line()
db_history_curr = db_history + \
db_history_size - 1; \
} while (0)
-#endif
+#endif /* DB_HISTORY_SIZE */
/* returns TRUE at end-of-line */
boolean_t
@@ -251,7 +251,7 @@ db_inputchar(c)
db_putstring(db_lbuf_start, db_le - db_lbuf_start);
}
break;
-#endif
+#endif /* DB_HISTORY_SIZE */
case CTRL('r'):
db_putstring("^R\n", 3);
if (db_le > db_lbuf_start) {
@@ -304,7 +304,7 @@ db_inputchar(c)
*db_history_last++ = '\0';
}
db_history_curr = db_history_last;
-#endif
+#endif /* DB_HISTORY_SIZE */
*db_le++ = c;
return (TRUE);
default: