From e0554607096984d58c406ab22c07978f5a7ed631 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 10 Sep 2015 23:07:34 -0500 Subject: [PATCH] wsc: Rename wsc.[ch] to wscutil.[ch] --- Makefile.am | 6 +++--- monitor/nlmon.c | 2 +- src/{wsc.c => wscutil.c} | 2 +- src/{wsc.h => wscutil.h} | 0 unit/test-wsc.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename src/{wsc.c => wscutil.c} (99%) rename src/{wsc.h => wscutil.h} (100%) diff --git a/Makefile.am b/Makefile.am index 2461eddb..0a54353f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,7 +67,7 @@ src_iwd_SOURCES = src/main.c linux/nl80211.h linux/kdbus.h \ src/agent.h src/agent.c \ src/storage.h src/storage.c \ src/network.h src/network.c \ - src/wsc.h src/wsc.c \ + src/wscutil.h src/wscutil.c \ iwd.h src_iwd_LDADD = ell/libell-internal.la @@ -80,7 +80,7 @@ monitor_iwmon_SOURCES = monitor/main.c linux/nl80211.h \ monitor/pcap.h monitor/pcap.c \ monitor/display.h monitor/display.c \ src/ie.h src/ie.c \ - src/wsc.h src/wsc.c \ + src/wscutil.h src/wscutil.c \ src/mpdu.h src/mpdu.c \ src/util.h src/util.c \ src/sha1.h src/sha1.c \ @@ -163,7 +163,7 @@ unit_test_ssid_security_SOURCES = unit/test-ssid-security.c src/ie.h src/ie.c \ src/scan.h src/scan.c unit_test_ssid_security_LDADD = ell/libell-internal.la -unit_test_wsc_SOURCES = unit/test-wsc.c src/wsc.h src/wsc.c +unit_test_wsc_SOURCES = unit/test-wsc.c src/wscutil.h src/wscutil.c unit_test_wsc_LDADD = ell/libell-internal.la TESTS = $(unit_tests) diff --git a/monitor/nlmon.c b/monitor/nlmon.c index ae84c886..63c62444 100644 --- a/monitor/nlmon.c +++ b/monitor/nlmon.c @@ -51,7 +51,7 @@ #include "src/mpdu.h" #include "src/eapol.h" #include "src/util.h" -#include "src/wsc.h" +#include "src/wscutil.h" #include "monitor/pcap.h" #include "monitor/display.h" #include "monitor/nlmon.h" diff --git a/src/wsc.c b/src/wscutil.c similarity index 99% rename from src/wsc.c rename to src/wscutil.c index 52b23e7d..0e6c77bd 100644 --- a/src/wsc.c +++ b/src/wscutil.c @@ -30,7 +30,7 @@ #include -#include "wsc.h" +#include "wscutil.h" static const unsigned char wfa_ext[3] = { 0x00, 0x37, 0x2a }; diff --git a/src/wsc.h b/src/wscutil.h similarity index 100% rename from src/wsc.h rename to src/wscutil.h diff --git a/unit/test-wsc.c b/unit/test-wsc.c index 94a11112..b05e6db4 100644 --- a/unit/test-wsc.c +++ b/unit/test-wsc.c @@ -30,7 +30,7 @@ #include #include -#include "src/wsc.h" +#include "src/wscutil.h" static const unsigned char wsc_attrs1[] = { 0x10, 0x4a, 0x00, 0x01, 0x10, 0x10, 0x44, 0x00, 0x01, 0x02, 0x10, 0x41,