Replace some typedef names by enum tags.

Also get rid of some mildly silly manual packing of enum types.
This commit is contained in:
Markus Armbruster 2008-03-05 06:09:48 +01:00
parent 7ec0f0c0d0
commit 06a0036c63
13 changed files with 39 additions and 41 deletions

View file

@ -69,10 +69,10 @@ nstr_mksymval(struct valstr *val, struct castr *ca, int idx)
* nstr_coerce_val(VAL, WANT, STR) succeeded.
*/
struct valstr *
nstr_exec_val(struct valstr *val, natid cnum, void *ptr, nsc_type want)
nstr_exec_val(struct valstr *val, natid cnum, void *ptr, enum nsc_type want)
{
char *memb_ptr;
nsc_type valtype;
enum nsc_type valtype;
int idx;
struct natstr *natp;