[Git][NTPsec/ntpsec][master] 2 commits: Add #include "config.h" to get NTP_SIZEOF_xxx

Hal Murray gitlab at mg.gitlab.com
Sun Nov 26 04:41:11 UTC 2017


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
003cbad4 by Hal Murray at 2017-11-25T20:31:04-08:00
Add #include "config.h" to get NTP_SIZEOF_xxx

- - - - -
8d0b6408 by Hal Murray at 2017-11-25T20:31:57-08:00
Reduce clutter from ./waf -v

The info in config.h used to be replicated in the
command line.

- - - - -


2 changed files:

- libntp/timespecops.c
- wscript


Changes:

=====================================
libntp/timespecops.c
=====================================
--- a/libntp/timespecops.c
+++ b/libntp/timespecops.c
@@ -37,6 +37,8 @@
  * Copyright 2015 by the NTPsec project contributors
  * SPDX-License-Identifier: NTP
  */
+#include "config.h"
+
 #include <stdio.h>
 #include <math.h>
 


=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -903,7 +903,7 @@ int main(int argc, char **argv) {
         ctx.define("BUILD_EPOCH", int(time.time()), comment="Using default")
 
     ctx.start_msg("Writing configuration header:")
-    ctx.write_config_header("config.h", remove=False)
+    ctx.write_config_header("config.h", remove=True)
     ctx.end_msg("config.h", "PINK")
 
     def yesno(x):



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/a5b7570f4b6f831ebd4f4538832aba7e5f2548f6...8d0b6408a8104d46bc37fd18d8c9ddb04b1183be

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/a5b7570f4b6f831ebd4f4538832aba7e5f2548f6...8d0b6408a8104d46bc37fd18d8c9ddb04b1183be
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171126/58c0db3f/attachment.html>


More information about the vc mailing list