From 5d26c4df71860644ae9605cd6936080642c38eb8 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 14 Sep 2017 01:32:44 +0200 Subject: [PATCH] test-udp-pings: use #defines rather than constants for test parameters --- test/test-udp-pings.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test-udp-pings.c b/test/test-udp-pings.c index e1a9d73..6b4bb0b 100644 --- a/test/test-udp-pings.c +++ b/test/test-udp-pings.c @@ -6,9 +6,10 @@ #include "error.h" #include "win.h" +#define NUM_PINGERS 10000 +#define RUN_TIME 10000 + static const char PING[] = "PING"; -static const int NUM_PINGERS = 10000; -static const DWORD RUN_TIME = 10000; int main(void) { epoll_t epoll_hnd;