From 1910f50179f93e6597a05be1a51d8aec80e2a326 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 10 Aug 2014 20:21:25 +0200 Subject: [PATCH] numparam, cleanup typedefs --- src/frontend/numparam/numparam.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/numparam/numparam.h b/src/frontend/numparam/numparam.h index 992a7bb90..99cb62638 100644 --- a/src/frontend/numparam/numparam.h +++ b/src/frontend/numparam/numparam.h @@ -19,18 +19,18 @@ typedef enum {Psp = '{'} _nPsp; /* Ps expression */ * I believe the entry should be a union of type but I need more info. * ----------------------------------------------------------------- */ -typedef struct _tentry { +typedef struct entry_s { char tp; /* type: I)nt R)eal S)tring F)unction M)acro P)ointer */ char *symbol; int level; /* subckt nesting level */ double vl; /* float value if defined */ int ivl; /* int value or string buffer index */ char *sbbase; /* string buffer base address if any */ - struct _tentry *pointer; /* pointer chain */ + struct entry_s *pointer; /* pointer chain */ } entry; -typedef struct _ttdico { /* the input scanner data structure */ +typedef struct { /* the input scanner data structure */ SPICE_DSTRING srcfile; /* last piece of source file name */ SPICE_DSTRING option; /* one-character translator options */ SPICE_DSTRING lookup_buf; /* useful temp buffer for quick symbol lookup */