Skip to content

Commit

Permalink
Merge pull request #274 from kronosnet/ppc-clang
Browse files Browse the repository at this point in the history
[tests] mark array as static
  • Loading branch information
fabbione committed Nov 20, 2019
2 parents 1b46617 + 9b34354 commit d50049c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libknet/tests/int_links_acl_ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static int read_2ip(const char *buf, const char *delim, struct sockaddr_storage
* ipcheck_validate calls
*/

const char *rules[100] = {
static const char *rules[100] = {
/*
* ipv4
*/
Expand Down Expand Up @@ -188,7 +188,7 @@ static int default_rules(int load)
return 0;
}

const char *tests[100] = {
static const char *tests[100] = {
/*
* ipv4
*/
Expand All @@ -209,7 +209,7 @@ const char *tests[100] = {
"A3ffe:1::1:1"
};

const char *after_insert_tests[100] = {
static const char *after_insert_tests[100] = {
/*
* ipv4
*/
Expand Down

0 comments on commit d50049c

Please sign in to comment.