mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-30 17:57:48 +00:00
Renamed misleading "contrib" subfolder to "dependencies".
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
PROJECT_CFLAGS += -Wall -Wextra $(EXTRA_CFLAGS) -I.
|
PROJECT_CFLAGS += -Wall -Wextra $(EXTRA_CFLAGS) -I.
|
||||||
JSMN_CFLAGS := -DJSMN_STATIC=1 -DJSMN_STRICT=1 -Icontrib -Icontrib/jsmn
|
JSMN_CFLAGS := -DJSMN_STATIC=1 -DJSMN_STRICT=1 -Idependencies
|
||||||
LIBS += -pthread -lpcap -lm
|
LIBS += -pthread -lpcap -lm
|
||||||
|
|
||||||
GOCC =
|
GOCC =
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
MYDIR="$(dirname ${0})"
|
|
||||||
cd "${MYDIR}/.."
|
|
||||||
|
|
||||||
git subtree pull --squash --prefix=contrib/jsmn https://github.com/zserge/jsmn.git master
|
|
||||||
6
dependencies/update_jsmn.sh
vendored
Executable file
6
dependencies/update_jsmn.sh
vendored
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
MYDIR="$(dirname ${0})"
|
||||||
|
cd "${MYDIR}/.."
|
||||||
|
|
||||||
|
git subtree pull --squash --prefix=dependencies/jsmn https://github.com/zserge/jsmn.git master
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "jsmn.h"
|
#include "jsmn/jsmn.h"
|
||||||
|
|
||||||
static char serv_listen_addr[INET_ADDRSTRLEN] = DISTRIBUTOR_HOST;
|
static char serv_listen_addr[INET_ADDRSTRLEN] = DISTRIBUTOR_HOST;
|
||||||
static uint16_t serv_listen_port = DISTRIBUTOR_PORT;
|
static uint16_t serv_listen_port = DISTRIBUTOR_PORT;
|
||||||
|
|||||||
Reference in New Issue
Block a user