[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH 2/2] Fixes compiler warning in ntpshmmon.
From: |
Fred Wright |
Subject: |
[gpsd-dev] [PATCH 2/2] Fixes compiler warning in ntpshmmon. |
Date: |
Fri, 5 Aug 2016 17:20:41 -0700 |
Commit 2125024d47e9625d764464f7f8990610d8dcb39d added a call to
memset() without the needed include of string.h.
TESTED:
Now builds without the warning.
---
ntpshmmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ntpshmmon.c b/ntpshmmon.c
index ec51d27..f810df8 100644
--- a/ntpshmmon.c
+++ b/ntpshmmon.c
@@ -6,6 +6,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <getopt.h>
#include <limits.h>
#include <unistd.h>
--
2.9.2
- [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Fred Wright, 2016/08/05
- [gpsd-dev] [PATCH 2/2] Fixes compiler warning in ntpshmmon.,
Fred Wright <=
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Gary E. Miller, 2016/08/05
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Hal Murray, 2016/08/06
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Fred Wright, 2016/08/06
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Gary E. Miller, 2016/08/08
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Hal Murray, 2016/08/08
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Fred Wright, 2016/08/08
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Chris Kuethe, 2016/08/08
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Gary E. Miller, 2016/08/09
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Hal Murray, 2016/08/09
- Re: [gpsd-dev] [PATCH 1/2] Moves Linux-only ppscheck program back to contrib/., Gary E. Miller, 2016/08/09