statd: minor, cleanup, license headers

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-11-16 10:35:43 +01:00
parent 485e4256a3
commit 715d17f475
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
CFLAGS += -Wall -Wextra -Werror
CPPFLAGS += -D_GNU_SOURCE
LDLIBS += -lsysrepo -lev -lyang -ljansson -lite -lsrx
TARGET = statd
+2
View File
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
#include <stdio.h>
#include <stdlib.h>
#include <jansson.h>
+2
View File
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef STATD_SHARED_H_
#define STATD_SHARED_H_
-1
View File
@@ -1,4 +1,3 @@
#define _GNU_SOURCE
/* SPDX-License-Identifier: BSD-3-Clause */
#include <stdio.h>