avoid 'struct dset'
doesn't work if -DUSE_TYPED_DSET
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "ellLib.h"
|
||||
#include "dbDefs.h"
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
|
||||
typedef struct dbMenu {
|
||||
ELLNODE node;
|
||||
@@ -40,7 +41,7 @@ typedef struct devSup {
|
||||
char *choice;
|
||||
int link_type;
|
||||
/*Following only available on run time system*/
|
||||
struct dset *pdset;
|
||||
dset *pdset;
|
||||
struct dsxt *pdsxt; /* Extended device support */
|
||||
}devSup;
|
||||
|
||||
|
||||
@@ -153,6 +153,9 @@ typedef struct dset { /* device support entry table */
|
||||
typedef typed_dset dset;
|
||||
#endif /* USE_TYPED_DSET */
|
||||
|
||||
/* exists only to disambiguate dset dbCommon::dset */
|
||||
typedef dset unambiguous_dset;
|
||||
|
||||
/** Fetch INP or OUT link (or NULL if record type has neither).
|
||||
*
|
||||
* Recommended for use in device support init_record()
|
||||
|
||||
Reference in New Issue
Block a user