X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffty_enum.c;h=62242b56b42fe459d6c285ced3207b50c5426e99;hp=4b953dfa16069d3ff54f8804fdb067053e99ace6;hb=3934889cc6b0f45cf218c88df7f35634d250c9e5;hpb=04d942c3d98cf0a929c6afb17be8c10d4ae39af0;ds=sidebyside diff --git a/form/fty_enum.c b/form/fty_enum.c index 4b953dfa..62242b56 100644 --- a/form/fty_enum.c +++ b/form/fty_enum.c @@ -35,7 +35,7 @@ #include "form.priv.h" -MODULE_ID("$Id: fty_enum.c,v 1.28 2020/05/24 01:40:20 anonymous.maarten Exp $") +MODULE_ID("$Id: fty_enum.c,v 1.31 2020/12/12 01:15:37 tom Exp $") typedef struct { @@ -66,7 +66,7 @@ static void * Generic_Enum_Type(void *arg) { enumARG *argp = (enumARG *)0; - enumParams *params = (enumParams *) arg; + enumParams *params = (enumParams *)arg; if (params) { @@ -425,12 +425,11 @@ static FIELDTYPE typeENUM = #endif }; -FORM_EXPORT_VAR(FIELDTYPE *) -TYPE_ENUM = &typeENUM; +FORM_EXPORT_VAR(FIELDTYPE *) TYPE_ENUM = &typeENUM; #if NCURSES_INTEROP_FUNCS /* The next routines are to simplify the use of ncurses from - programming languages with restictions on interop with C level + programming languages with restrictions on interop with C level constructs (e.g. variable access or va_list + ellipsis constructs) */ FORM_EXPORT(FIELDTYPE *)