From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 044022C08E for ; Thu, 25 Apr 2019 18:36:01 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BX8eoSbCEI11 for ; Thu, 25 Apr 2019 18:36:00 -0400 (EDT) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id B566029AB1 for ; Thu, 25 Apr 2019 18:36:00 -0400 (EDT) Received: by mail-lj1-f173.google.com with SMTP id p14so1105902ljg.5 for ; Thu, 25 Apr 2019 15:36:00 -0700 (PDT) From: Cyrill Gorcunov Subject: [tarantool-patches] [PATCH] box/lua/init: Declare modsrc as constant Date: Fri, 26 Apr 2019 01:35:45 +0300 Message-Id: <20190425223545.2479-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tml Cc: Cyrill Gorcunov They are actually pregenerated constant strings, declare them so. --- Not a big deal, just for clarification. src/box/lua/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/lua/init.c b/src/box/lua/init.c index 3ff4f3227..fa157d97d 100644 --- a/src/box/lua/init.c +++ b/src/box/lua/init.c @@ -60,7 +60,7 @@ #include "box/lua/tuple.h" #include "box/lua/execute.h" -extern char session_lua[], +extern const char session_lua[], tuple_lua[], schema_lua[], load_cfg_lua[], -- 2.20.1