aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-01-12 13:42:23 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-01-12 13:42:23 +0200
commita1e5ff3b8d65544d8819d70f598893d6056725e3 (patch)
treeb34ef3278334f198c695548238d805bc74314103
parent22815f51f61940f330026c2b0a293996958a942a (diff)
downloadegawk-a1e5ff3b8d65544d8819d70f598893d6056725e3.tar.gz
egawk-a1e5ff3b8d65544d8819d70f598893d6056725e3.tar.bz2
egawk-a1e5ff3b8d65544d8819d70f598893d6056725e3.zip
Further cleanup of awk_ext_id_t variables.
-rw-r--r--ChangeLog5
-rw-r--r--doc/it/ChangeLog7
-rw-r--r--doc/it/gawktexi.in4
-rw-r--r--gawkapi.h4
4 files changed, 16 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index c601536f..4a1be06f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawkapi.h: Remove extraneous '*' on parameters of
+ type awk_ext_id. Thanks to Andrew Schorr for the report.
+
2018-01-11 Arnold D. Robbins <arnold@skeeve.com>
* compile, config.guess, config.rpath, config.sub,
diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog
index d38f9860..7eb32f67 100644
--- a/doc/it/ChangeLog
+++ b/doc/it/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Remove incorrect '*' on some declarations of
+ ext_id in sample extension code. Thanks to Panos Papadopoulos
+ <panos1962@gmail.com> for the report.
+ * texinfo.tex: Updated from GNULIB.
+
2017-12-07 Antonio Giovanni Colombo <azc100@gmail.com>
* gawk.1: New file. (Italian translation of the man page.)
diff --git a/doc/it/gawktexi.in b/doc/it/gawktexi.in
index aa99d614..d29cdf03 100644
--- a/doc/it/gawktexi.in
+++ b/doc/it/gawktexi.in
@@ -36713,7 +36713,7 @@ Tabella dei simboli:
#include "gawkapi.h"
static const gawk_api_t *api; /* per far funzionare le macro di utilit@`a */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "testarray extension: version 1.0";
int plugin_is_GPL_compatible;
@@ -37484,7 +37484,7 @@ per usare le macro dell'API e il codice predefinito
static const gawk_api_t *api; /* per consentire il funzionamento
delle macro di utilit@`a */
-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/gawkapi.h b/gawkapi.h
index 7f574576..240bffe8 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -947,7 +947,7 @@ typedef struct gawk_api {
static inline awk_value_t *
r_make_string_type(const gawk_api_t *api, /* needed for emalloc */
- awk_ext_id_t *ext_id, /* ditto */
+ awk_ext_id_t ext_id, /* ditto */
const char *string,
size_t length,
awk_bool_t duplicate,
@@ -977,7 +977,7 @@ r_make_string_type(const gawk_api_t *api, /* needed for emalloc */
static inline awk_value_t *
r_make_string(const gawk_api_t *api, /* needed for emalloc */
- awk_ext_id_t *ext_id, /* ditto */
+ awk_ext_id_t ext_id, /* ditto */
const char *string,
size_t length,
awk_bool_t duplicate,