diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-09-22 15:09:58 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-09-22 15:09:58 +0200 |
commit | e4c3b8e856024519014bd91bae32b9a4261395a9 (patch) | |
tree | b5cd38a29fca9c9d7e65a8c4b252e2877d6b74f8 /src/libsystemd-network/test-pppoe.c | |
parent | be19c5b5e0c0f78b8429b126936fa15856550a23 (diff) |
sd-pppoe: fix namespacing
Prefix all exported constants by SD_PPPOE_* to avoid namespacing
conflicts.
Diffstat (limited to 'src/libsystemd-network/test-pppoe.c')
-rw-r--r-- | src/libsystemd-network/test-pppoe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/test-pppoe.c b/src/libsystemd-network/test-pppoe.c index 72878f4b51..6d71569a26 100644 --- a/src/libsystemd-network/test-pppoe.c +++ b/src/libsystemd-network/test-pppoe.c @@ -41,12 +41,12 @@ static void pppoe_handler(sd_pppoe *ppp, int event, void *userdata) { assert_se(e); switch (event) { - case PPPOE_EVENT_RUNNING: + case SD_PPPOE_EVENT_RUNNING: assert_se(pppoe_state == -1); log_info("running"); break; - case PPPOE_EVENT_STOPPED: - assert_se(pppoe_state == PPPOE_EVENT_RUNNING); + case SD_PPPOE_EVENT_STOPPED: + assert_se(pppoe_state == SD_PPPOE_EVENT_RUNNING); log_info("stopped"); assert_se(sd_event_exit(e, 0) >= 0); break; |