diff options
author | Christoph Lipka <clipka@de.adit-jv.com> | 2018-09-25 15:44:14 +0200 |
---|---|---|
committer | Christoph Lipka <clipka@de.adit-jv.com> | 2018-09-25 15:44:14 +0200 |
commit | 0f6d2ee216bed228676e6ea8f33b8bfbf6cf1880 (patch) | |
tree | 79a0f65576069c2cc0b27a21b8b1d555d0ed3bfd /src | |
parent | e7bb06f986e3082023a2dd0795a6e36a30f37e05 (diff) | |
download | DLT-daemon-0f6d2ee216bed228676e6ea8f33b8bfbf6cf1880.tar.gz |
Fix compiler warning PR #77
warning: extra tokens at end of #ifdef directive
Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/dlt-daemon.c | 2 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_client.c | 2 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_socket.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c index 5695a4b..b9eb8eb 100644 --- a/src/daemon/dlt-daemon.c +++ b/src/daemon/dlt-daemon.c @@ -47,7 +47,7 @@ #endif #include <sys/stat.h> #include <sys/time.h> -#ifdef defined(linux) && defined(__NR_statx) +#if defined(linux) && defined(__NR_statx) #include <linux/stat.h> #endif diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c index cb59239..dc07387 100644 --- a/src/daemon/dlt_daemon_client.c +++ b/src/daemon/dlt_daemon_client.c @@ -46,7 +46,7 @@ #endif #include <sys/stat.h> #include <sys/time.h> -#ifdef defined(linux) && defined(__NR_statx) +#if defined(linux) && defined(__NR_statx) #include <linux/stat.h> #endif diff --git a/src/daemon/dlt_daemon_socket.c b/src/daemon/dlt_daemon_socket.c index 4ae1d86..521b3e6 100644 --- a/src/daemon/dlt_daemon_socket.c +++ b/src/daemon/dlt_daemon_socket.c @@ -49,7 +49,7 @@ #endif #include <sys/stat.h> #include <sys/time.h> -#ifdef defined(linux) && defined(__NR_statx) +#if defined(linux) && defined(__NR_statx) #include <linux/stat.h> #endif |