[Git][NTPsec/ntpsec][master] Use quotes when referencing other local headers for inclusion

Matt Selsky gitlab at mg.gitlab.com
Fri Feb 10 05:17:32 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
6696ab1d by Matt Selsky at 2017-02-10T00:16:21-05:00
Use quotes when referencing other local headers for inclusion

- - - - -


6 changed files:

- include/isc/mem.h
- include/lib_strbuf.h
- include/ntp.h
- libntp/refidsmear.c
- libntp/ssl_init.c
- tests/libntp/refidsmear.c


Changes:

=====================================
include/isc/mem.h
=====================================
--- a/include/isc/mem.h
+++ b/include/isc/mem.h
@@ -20,7 +20,7 @@
 #include <isc/lang.h>
 #include <isc/types.h>
 
-#include <ntp_stdlib.h>
+#include "ntp_stdlib.h"
 
 
 #define ISC_MEM_UNUSED_ARG(a)		((void)(a))


=====================================
include/lib_strbuf.h
=====================================
--- a/include/lib_strbuf.h
+++ b/include/lib_strbuf.h
@@ -4,8 +4,8 @@
 #ifndef GUARD_LIB_STRBUF_H
 #define GUARD_LIB_STRBUF_H
 
-#include <ntp_types.h>
-#include <ntp_malloc.h>			/* for ZERO() */
+#include "ntp_types.h"
+#include "ntp_malloc.h"			/* for ZERO() */
 
 /*
  * Sizes of things


=====================================
include/ntp.h
=====================================
--- a/include/ntp.h
+++ b/include/ntp.h
@@ -22,12 +22,12 @@ typedef unsigned short	u_short;
 typedef unsigned int	u_int;
 #endif
 
-#include <ntp_fp.h>
-#include <ntp_types.h>
-#include <ntp_lists.h>
-#include <ntp_stdlib.h>
-#include <ntp_random.h>
-#include <ntp_net.h>
+#include "ntp_fp.h"
+#include "ntp_types.h"
+#include "ntp_lists.h"
+#include "ntp_stdlib.h"
+#include "ntp_random.h"
+#include "ntp_net.h"
 
 /*
  * Calendar arithmetic - contributed by G. Healton


=====================================
libntp/refidsmear.c
=====================================
--- a/libntp/refidsmear.c
+++ b/libntp/refidsmear.c
@@ -1,8 +1,8 @@
 #include "config.h"
 
-#include <ntp.h>
-#include <ntp_fp.h>
-#include <refidsmear.h>
+#include "ntp.h"
+#include "ntp_fp.h"
+#include "refidsmear.h"
 
 /*
  * we want to test a refid format of:


=====================================
libntp/ssl_init.c
=====================================
--- a/libntp/ssl_init.c
+++ b/libntp/ssl_init.c
@@ -9,8 +9,8 @@
 
 #include <unistd.h>
 #include <ctype.h>
-#include <ntp.h>
-#include <ntp_debug.h>
+#include "ntp.h"
+#include "ntp_debug.h"
 
 #include <openssl/evp.h>
 


=====================================
tests/libntp/refidsmear.c
=====================================
--- a/tests/libntp/refidsmear.c
+++ b/tests/libntp/refidsmear.c
@@ -1,8 +1,8 @@
 #include "config.h"
 
-#include <ntp.h>
-#include <ntp_fp.h>
-#include <refidsmear.h>
+#include "ntp.h"
+#include "ntp_fp.h"
+#include "refidsmear.h"
 
 #include "unity.h"
 #include "unity_fixture.h"



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6696ab1dbffd9db2a7524590edd3ca91839cb774
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170210/f23828bb/attachment.html>


More information about the vc mailing list