From 33e565b67deadf0f114e51dd4af0860542afd6eb Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 29 Aug 2016 10:41:51 -0500 Subject: [PATCH] Fix build warning from clang --- src/ioc/db/dbJLink.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ioc/db/dbJLink.h b/src/ioc/db/dbJLink.h index 42d5e362c..3f52a6877 100644 --- a/src/ioc/db/dbJLink.h +++ b/src/ioc/db/dbJLink.h @@ -32,7 +32,13 @@ typedef enum { struct link; struct lset; -typedef struct jlink jlink; +struct jlif; + +typedef struct jlink { + struct jlif *pif; + struct jlink *parent; + /* Link types extend or embed this structure for private storage */ +} jlink; typedef struct jlif { const char *name; @@ -54,12 +60,6 @@ typedef struct jlif { void (*report)(const jlink *); } jlif; -typedef struct jlink { - jlif *pif; - jlink *parent; - /* Link types extend or embed this structure for private storage */ -} jlink; - epicsShareFunc long dbJLinkInit(struct link *plink, short dbfType); #ifdef __cplusplus