test/unit: follow chrony function naming convention

This commit is contained in:
Miroslav Lichvar
2016-02-15 13:13:13 +01:00
parent 910663c37b
commit 80f4d75968
5 changed files with 14 additions and 14 deletions

View File

@@ -28,14 +28,14 @@ extern void test_unit(void);
#define TEST_CHECK(expr) \
do { \
if (!(expr)) { \
test_fail(__LINE__); \
TST_Fail(__LINE__); \
exit(1); \
} \
} while (0)
extern void test_fail(int line);
extern void TST_Fail(int line);
extern void get_random_address(IPAddr *ip, int family, int bits);
extern void swap_address_bit(IPAddr *ip, unsigned int b);
extern void TST_GetRandomAddress(IPAddr *ip, int family, int bits);
extern void TST_SwapAddressBit(IPAddr *ip, unsigned int b);
#endif