Skip to content

Commit

Permalink
Code changes to support ppc64le platform:
Browse files Browse the repository at this point in the history
Reverted the changes for renaming 'luaL_reg' to 'luaL_Reg' , As this renaming will be done through CMakeList.txt Patch command
while building moonjit repo for ppc64le platform.
Signed-off-by: Sunil1783 <sunil.botre@ibm.com>
  • Loading branch information
Amit Shirodkar committed Jan 22, 2020
1 parent cff9b05 commit 1dada67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion userspace/engine/formats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bool falco_formats::s_json_output = false;
bool falco_formats::s_json_include_output_property = true;
sinsp_evt_formatter_cache *falco_formats::s_formatters = NULL;

const static struct luaL_Reg ll_falco [] =
const static struct luaL_reg ll_falco [] =
{
{"formatter", &falco_formats::formatter},
{"free_formatter", &falco_formats::free_formatter},
Expand Down
2 changes: 1 addition & 1 deletion userspace/engine/rules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extern "C" {
}

#include "falco_engine.h"
const static struct luaL_Reg ll_falco_rules [] =
const static struct luaL_reg ll_falco_rules [] =
{
{"clear_filters", &falco_rules::clear_filters},
{"add_filter", &falco_rules::add_filter},
Expand Down
2 changes: 1 addition & 1 deletion userspace/falco/falco_outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ limitations under the License.
using namespace std;
using namespace falco::output;

const static struct luaL_Reg ll_falco_outputs [] =
const static struct luaL_reg ll_falco_outputs [] =
{
{"handle_http", &falco_outputs::handle_http},
{"handle_grpc", &falco_outputs::handle_grpc},
Expand Down
2 changes: 1 addition & 1 deletion userspace/falco/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

#include "falco_common.h"

const static struct luaL_Reg ll_falco [] =
const static struct luaL_reg ll_falco [] =
{
{"syslog", &falco_logger::syslog},
{NULL,NULL}
Expand Down

0 comments on commit 1dada67

Please sign in to comment.