Changeset: 7eaf5adbf9be for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7eaf5adbf9be
Modified Files:
        clients/mapiclient/ReadlineTools.c
Branch: Aug2018
Log Message:

const char *.


diffs (22 lines):

diff --git a/clients/mapiclient/ReadlineTools.c 
b/clients/mapiclient/ReadlineTools.c
--- a/clients/mapiclient/ReadlineTools.c
+++ b/clients/mapiclient/ReadlineTools.c
@@ -136,7 +136,7 @@ sql_completion(const char *text, int sta
 
 /* The MAL completion help */
 
-static char *mal_commands[] = {
+static const char *mal_commands[] = {
        "address",
        "atom",
        "barrier",
@@ -209,7 +209,8 @@ mal_command_generator(const char *text, 
        static int64_t seekpos, rowcount;
        static size_t len;
        static MapiHdl table_hdl;
-       char *name, *buf;
+       const char *name;
+       char *buf;
 
        /* we pick our own portion of the linebuffer */
        text = rl_line_buffer + strlen(rl_line_buffer) - 1;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to