summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/test-ndisc-ra.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-11 13:50:29 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-11 14:10:39 +0200
commit7fbae5b7069c67ab203d50a2d8295a4d970f10c5 (patch)
tree0b4b6ba17f8a59e127c266e3f60a2bce7286c473 /src/libsystemd-network/test-ndisc-ra.c
parentnetwork: use official bswap_32() rather than inofficial __bswap_32() (diff)
downloadsystemd-7fbae5b7069c67ab203d50a2d8295a4d970f10c5.tar.xz
systemd-7fbae5b7069c67ab203d50a2d8295a4d970f10c5.zip
tree-wide: use C99 __func__ rather than obsolete __FUNCTION__
We use __func__ almost everywhere, but there are some holdouts. Fix that.
Diffstat (limited to 'src/libsystemd-network/test-ndisc-ra.c')
-rw-r--r--src/libsystemd-network/test-ndisc-ra.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/test-ndisc-ra.c b/src/libsystemd-network/test-ndisc-ra.c
index 927e21b3cd..4713bc99b5 100644
--- a/src/libsystemd-network/test-ndisc-ra.c
+++ b/src/libsystemd-network/test-ndisc-ra.c
@@ -111,7 +111,7 @@ static int test_rs_hangcheck(sd_event_source *s, uint64_t usec,
static void test_radv_prefix(void) {
sd_radv_prefix *p;
- printf("* %s\n", __FUNCTION__);
+ printf("* %s\n", __func__);
assert_se(sd_radv_prefix_new(&p) >= 0);
@@ -153,7 +153,7 @@ static void test_radv_prefix(void) {
static void test_radv(void) {
sd_radv *ra;
- printf("* %s\n", __FUNCTION__);
+ printf("* %s\n", __func__);
assert_se(sd_radv_new(&ra) >= 0);
assert_se(ra);
@@ -295,7 +295,7 @@ static void test_ra(void) {
sd_radv *ra;
unsigned i;
- printf("* %s\n", __FUNCTION__);
+ printf("* %s\n", __func__);
assert_se(socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0, test_fd) >= 0);