Skip to content

Commit

Permalink
lib REFACTOR avoid duplicate struct declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Jun 4, 2024
1 parent f94be52 commit af09a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ fi

# start the YANG array
MAIN_YANG_ARRAY="
struct np2_file {
const char *file;
const char *name;
const char *revision;
const char *data;
int len;
};
struct np2_file yang_files[] = {
"

Expand Down
2 changes: 2 additions & 0 deletions lib/np2_sr_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#define _GNU_SOURCE

#include "netopeer2.h"

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit af09a20

Please sign in to comment.