[Git][NTPsec/ntpsec][master] Moved typedef to be inline with the struct for gpsd_unit and to match other structs in file
deamoneye
gitlab at mg.gitlab.com
Fri May 26 18:43:27 UTC 2017
deamoneye pushed to branch master at NTPsec / ntpsec
Commits:
50bb970d by Keane Wolter at 2017-05-26T14:42:49-04:00
Moved typedef to be inline with the struct for gpsd_unit and to match other structs in file
- - - - -
1 changed file:
- ntpd/refclock_gpsd.c
Changes:
=====================================
ntpd/refclock_gpsd.c
=====================================
--- a/ntpd/refclock_gpsd.c
+++ b/ntpd/refclock_gpsd.c
@@ -239,10 +239,8 @@ struct refclock refclock_gpsdjson = {
/* =====================================================================
* our local clock unit and data
*/
-struct gpsd_unit;
-typedef struct gpsd_unit gpsd_unitT;
-struct gpsd_unit {
+typedef struct gpsd_unit {
/* links for sharing between master/slave units */
gpsd_unitT *next_unit;
size_t refcount;
@@ -318,7 +316,7 @@ struct gpsd_unit {
/* record assemby buffer and saved length */
int buflen;
char buffer[MAX_PDU_LEN];
-};
+} gpsd_unitT;
/* =====================================================================
* static local helpers forward decls
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/50bb970d3ddc8851c4a1c745fb633e724b407ea0
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/50bb970d3ddc8851c4a1c745fb633e724b407ea0
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/20170526/e3890501/attachment.html>
More information about the vc
mailing list