[Git][NTPsec/ntpsec][master] Dead-code removal.

Eric S. Raymond gitlab at mg.gitlab.com
Wed Oct 5 09:17:16 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
f526c051 by Eric S. Raymond at 2016-10-05T05:16:46-04:00
Dead-code removal.

- - - - -


1 changed file:

- include/parse.h


Changes:

=====================================
include/parse.h
=====================================
--- a/include/parse.h
+++ b/include/parse.h
@@ -21,16 +21,6 @@
 #define parseprintf(LEVEL, ARGS)
 #endif	/* DEBUG */
 
-#if defined(timercmp) && defined(__GNUC__)
-#undef timercmp
-#endif
-
-#if !defined(timercmp)
-#define	timercmp(tvp, uvp, cmp)	\
-	((tvp)->tv_sec cmp (uvp)->tv_sec || \
-	 ((tvp)->tv_sec == (uvp)->tv_sec && (tvp)->tv_usec cmp (uvp)->tv_usec))
-#endif
-
 /*
  * some constants useful for GPS time conversion
  */



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/f526c05127cfd304c3c7625b23f2dd0e6f4733c0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161005/98f9446e/attachment.html>


More information about the vc mailing list