Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/libuinet/uinet_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int
uinet_ifcreate(uinet_instance_t uinst, uinet_iftype_t type, const char *configstr,
const char *alias, unsigned int cdom, int cpu, uinet_if_t *uif)
{
struct uinet_if *new_uif;
struct uinet_if *new_uif = NULL;
int alias_len;
int error = 0;

Expand Down
3 changes: 2 additions & 1 deletion lib/libuinet/uinet_host_sysctl_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* SUCH DAMAGE.
*/

#define _BSD_SOURCE
#include <assert.h>
#include <pthread.h>
#include <stdio.h>
Expand All @@ -41,7 +42,7 @@
#include <sys/types.h>
#include <sys/mman.h>

#include "uinet_internal.h"
#include "uinet_api.h"
#include "uinet_nv.h"
#include "uinet_host_sysctl_api.h"
#include "uinet_host_sysctl_api_priv.h"
Expand Down