Skip to content

Commit

Permalink
[nozzle] rename _config to nozzle_lib_config
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jan 19, 2018
1 parent 72def30 commit b329a87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions libnozzle/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
#include "config.h"
#include <net/if.h>

struct nozzle_lib_config {
struct nozzle_iface *head;
int sockfd;
};

#define MAX_IP_CHAR 128
#define MAX_PREFIX_CHAR 4
#define MAX_MAC_CHAR 18
Expand All @@ -38,9 +43,4 @@ struct nozzle_iface {
};
#define ifname ifr.ifr_name

struct _config {
struct nozzle_iface *head;
int sockfd;
};

#endif
2 changes: 1 addition & 1 deletion libnozzle/libnozzle.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "internals.h"

static int lib_init = 0;
static struct _config lib_cfg;
static struct nozzle_lib_config lib_cfg;
static pthread_mutex_t lib_mutex = PTHREAD_MUTEX_INITIALIZER;

/* forward declarations */
Expand Down

0 comments on commit b329a87

Please sign in to comment.