diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-11 13:50:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-10-11 14:10:39 +0200 |
commit | 7fbae5b7069c67ab203d50a2d8295a4d970f10c5 (patch) | |
tree | 0b4b6ba17f8a59e127c266e3f60a2bce7286c473 /src/libsystemd-network/test-ndisc-ra.c | |
parent | network: use official bswap_32() rather than inofficial __bswap_32() (diff) | |
download | systemd-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.c | 6 |
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); |