wifi: OS split

This commit is contained in:
Quentin Rameau authored and Aaron Marcher committed 2018-04-30 15:42:16 +02:00
1 parent 19f3c8f545
commit 97ff66522c
3 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ COM =\
components/$(OS)/uptime \
components/user\
components/volume\
components/wifi
components/$(OS)/wifi
all: slstatus
@@ -1,5 +1,4 @@
/* See LICENSE file for copyright and license details. */
#if defined(__linux__)
#include <errno.h>
#include <ifaddrs.h>
#include <linux/wireless.h>
@@ -10,7 +9,7 @@
#include <sys/ioctl.h>
#include <unistd.h>
#include "../util.h"
#include "../../util.h"
const char *
wifi_perc(const char *iface)
@@ -89,4 +88,3 @@ wifi_essid(const char *iface)
else
return id;
}
#endif
View File
Whitespace-only changes.