diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/ChangeLog | 8 | ||||
-rw-r--r-- | extension/filefuncs.c | 2 | ||||
-rw-r--r-- | extension/fnmatch.c | 2 | ||||
-rw-r--r-- | extension/fork.c | 2 | ||||
-rw-r--r-- | extension/inplace.c | 2 | ||||
-rw-r--r-- | extension/intdiv.c | 2 | ||||
-rw-r--r-- | extension/ordchr.c | 2 | ||||
-rw-r--r-- | extension/readdir.c | 2 | ||||
-rw-r--r-- | extension/readdir_test.c | 2 | ||||
-rw-r--r-- | extension/readfile.c | 2 | ||||
-rw-r--r-- | extension/revoutput.c | 2 | ||||
-rw-r--r-- | extension/revtwoway.c | 2 | ||||
-rw-r--r-- | extension/rwarray.c | 2 | ||||
-rw-r--r-- | extension/rwarray0.c | 2 | ||||
-rw-r--r-- | extension/testext.c | 2 | ||||
-rw-r--r-- | extension/time.c | 2 |
16 files changed, 23 insertions, 15 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index 06eedf3e..02931fda 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,11 @@ +2018-01-11 Arnold D. Robbins <arnold@skeeve.com> + + * filefuncs.c, fnmatch.c, fork.c, inplace.c, intdiv.c, ordchr.c, + readdir.c, readdir_test.c, readfile.c, revoutput.c, revtwoway.c, + rwarray.c, rwarray0.c, testext.c, time.c: Remove incorrect '*' + on declarations of ext_id in sample extension code. Thanks to + Panos Papadopoulos <panos1962@gmail.com> for the report. + 2017-12-29 Arnold D. Robbins <arnold@skeeve.com> * configure.ac (fmod): Put AC_SEARCH_LIBS before the call diff --git a/extension/filefuncs.c b/extension/filefuncs.c index 64016402..99b5eda2 100644 --- a/extension/filefuncs.c +++ b/extension/filefuncs.c @@ -144,7 +144,7 @@ get_inode(const char *fname) #endif static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static awk_bool_t init_filefuncs(void); static awk_bool_t (*init_func)(void) = init_filefuncs; static const char *ext_version = "filefuncs extension: version 1.0"; diff --git a/extension/fnmatch.c b/extension/fnmatch.c index 5119bfda..9e39e433 100644 --- a/extension/fnmatch.c +++ b/extension/fnmatch.c @@ -90,7 +90,7 @@ #endif static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "fnmatch extension: version 1.0"; static awk_bool_t init_fnmatch(void); diff --git a/extension/fork.c b/extension/fork.c index 823506dd..9ff758d5 100644 --- a/extension/fork.c +++ b/extension/fork.c @@ -48,7 +48,7 @@ #define N_(msgid) msgid static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "fork extension: version 1.0"; static awk_bool_t (*init_func)(void) = NULL; diff --git a/extension/inplace.c b/extension/inplace.c index f89017b7..daed0654 100644 --- a/extension/inplace.c +++ b/extension/inplace.c @@ -70,7 +70,7 @@ mkstemp (char *template) #endif static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "inplace extension: version 1.0"; int plugin_is_GPL_compatible; diff --git a/extension/intdiv.c b/extension/intdiv.c index fb98f153..529ea361 100644 --- a/extension/intdiv.c +++ b/extension/intdiv.c @@ -28,7 +28,7 @@ #define N_(msgid) msgid static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "intdiv extension: version 1.0"; static awk_bool_t (*init_func)(void) = NULL; diff --git a/extension/ordchr.c b/extension/ordchr.c index c7451f6d..f0e90562 100644 --- a/extension/ordchr.c +++ b/extension/ordchr.c @@ -49,7 +49,7 @@ #define N_(msgid) msgid static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "ordchr extension: version 1.0"; static awk_bool_t (*init_func)(void) = NULL; diff --git a/extension/readdir.c b/extension/readdir.c index 2e34456e..c4aa7b06 100644 --- a/extension/readdir.c +++ b/extension/readdir.c @@ -72,7 +72,7 @@ #endif static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "readdir extension: version 1.0"; static awk_bool_t init_readdir(void); diff --git a/extension/readdir_test.c b/extension/readdir_test.c index 6d6ee134..a9faa548 100644 --- a/extension/readdir_test.c +++ b/extension/readdir_test.c @@ -72,7 +72,7 @@ #endif static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "readdir extension: version 2.0"; static awk_bool_t init_readdir(void); diff --git a/extension/readfile.c b/extension/readfile.c index b600f27a..99a12b45 100644 --- a/extension/readfile.c +++ b/extension/readfile.c @@ -61,7 +61,7 @@ #endif static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "readfile extension: version 2.0"; static awk_bool_t init_readfile(); static awk_bool_t (*init_func)(void) = init_readfile; diff --git a/extension/revoutput.c b/extension/revoutput.c index 5862ed6e..20f886e4 100644 --- a/extension/revoutput.c +++ b/extension/revoutput.c @@ -46,7 +46,7 @@ #define N_(msgid) msgid static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "revoutput extension: version 1.1"; static awk_bool_t init_revoutput(void); diff --git a/extension/revtwoway.c b/extension/revtwoway.c index 84989bfc..5d4fb0fc 100644 --- a/extension/revtwoway.c +++ b/extension/revtwoway.c @@ -48,7 +48,7 @@ #define N_(msgid) msgid static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "revtwoway extension: version 1.0"; static awk_bool_t init_revtwoway(void); diff --git a/extension/rwarray.c b/extension/rwarray.c index 997b6b2f..7ae1870e 100644 --- a/extension/rwarray.c +++ b/extension/rwarray.c @@ -60,7 +60,7 @@ #define MINOR 1 static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "rwarray extension: version 1.2"; static awk_bool_t (*init_func)(void) = NULL; diff --git a/extension/rwarray0.c b/extension/rwarray0.c index 79dee79e..f535a6a7 100644 --- a/extension/rwarray0.c +++ b/extension/rwarray0.c @@ -54,7 +54,7 @@ #define MINOR 0 static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "rwarray0 extension: version 1.0"; static awk_bool_t (*init_func)(void) = NULL; diff --git a/extension/testext.c b/extension/testext.c index c1a03f5b..3815dbf5 100644 --- a/extension/testext.c +++ b/extension/testext.c @@ -42,7 +42,7 @@ #include "gawkapi.h" static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "testext extension: version 1.0"; int plugin_is_GPL_compatible; diff --git a/extension/time.c b/extension/time.c index 01be7784..7451b258 100644 --- a/extension/time.c +++ b/extension/time.c @@ -79,7 +79,7 @@ vms_fake_nanosleep(struct timespec *rqdly, struct timespec *rmdly) #define N_(msgid) msgid static const gawk_api_t *api; /* for convenience macros to work */ -static awk_ext_id_t *ext_id; +static awk_ext_id_t ext_id; static const char *ext_version = "time extension: version 1.0"; static awk_bool_t (*init_func)(void) = NULL; |