aboutsummaryrefslogtreecommitdiff
path: root/include/ntp_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ntp_types.h')
-rw-r--r--include/ntp_types.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/ntp_types.h b/include/ntp_types.h
index c3cf2c196521..6553f01b8a97 100644
--- a/include/ntp_types.h
+++ b/include/ntp_types.h
@@ -255,16 +255,6 @@ aligned_ptr(
}
/*
- * Macro to use in otherwise-empty source files to comply with ANSI C
- * requirement that each translation unit (source file) contain some
- * declaration. This has commonly been done by declaring an unused
- * global variable of type int or char. An extern reference to abs()
- * serves the same purpose without bloat. We once used exit() but
- * that can produce warnings on systems that declare exit() noreturn.
- */
-#define NONEMPTY_TRANSLATION_UNIT extern int abs(int);
-
-/*
* On Unix struct sock_timeval is equivalent to struct timeval.
* On Windows built with 64-bit time_t, sock_timeval.tv_sec is a long
* as required by Windows' socket() interface timeout argument, while