aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-01-11 21:54:26 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-01-11 21:54:26 +0200
commit1dd70048aed615cde08f96709ca6a00ebb4ae6cd (patch)
treef62a8e1a0665c80187dc6f559460fc843bacb71a
parent5816cab836fbab1fc6bba3a3f69e6ae98b13daf0 (diff)
downloadegawk-1dd70048aed615cde08f96709ca6a00ebb4ae6cd.tar.gz
egawk-1dd70048aed615cde08f96709ca6a00ebb4ae6cd.tar.bz2
egawk-1dd70048aed615cde08f96709ca6a00ebb4ae6cd.zip
Remove incorrect * on ext_id in extensions and in doc.
-rw-r--r--doc/ChangeLog6
-rw-r--r--doc/gawk.info194
-rw-r--r--doc/gawk.texi4
-rw-r--r--doc/gawktexi.in4
-rw-r--r--extension/ChangeLog8
-rw-r--r--extension/filefuncs.c2
-rw-r--r--extension/fnmatch.c2
-rw-r--r--extension/fork.c2
-rw-r--r--extension/inplace.c2
-rw-r--r--extension/intdiv.c2
-rw-r--r--extension/ordchr.c2
-rw-r--r--extension/readdir.c2
-rw-r--r--extension/readdir_test.c2
-rw-r--r--extension/readfile.c2
-rw-r--r--extension/revoutput.c2
-rw-r--r--extension/revtwoway.c2
-rw-r--r--extension/rwarray.c2
-rw-r--r--extension/rwarray0.c2
-rw-r--r--extension/testext.c2
-rw-r--r--extension/time.c2
20 files changed, 130 insertions, 116 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 2db4ea38..d9c6cddc 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2018-01-11 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.
+
2018-01-08 Andrew J. Schorr <aschorr@telemetry-investments.com>
* gawktexi.in (Checking for MPFR): Add warnings about exit's processing
diff --git a/doc/gawk.info b/doc/gawk.info
index 5f52e258..28b88dab 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -26231,7 +26231,7 @@ Boilerplate::):
#include "stack.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 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";
@@ -36462,101 +36462,101 @@ Node: Finding Extensions1060050
Node: Extension Example1060609
Node: Internal File Description1061407
Node: Internal File Ops1065487
-Ref: Internal File Ops-Footnote-11076838
-Node: Using Internal File Ops1076978
-Ref: Using Internal File Ops-Footnote-11079361
-Node: Extension Samples1079635
-Node: Extension Sample File Functions1081164
-Node: Extension Sample Fnmatch1088813
-Node: Extension Sample Fork1090300
-Node: Extension Sample Inplace1091518
-Node: Extension Sample Ord1094735
-Node: Extension Sample Readdir1095571
-Ref: table-readdir-file-types1096460
-Node: Extension Sample Revout1097265
-Node: Extension Sample Rev2way1097854
-Node: Extension Sample Read write array1098594
-Node: Extension Sample Readfile1100536
-Node: Extension Sample Time1101631
-Node: Extension Sample API Tests1102979
-Node: gawkextlib1103471
-Node: Extension summary1105927
-Node: Extension Exercises1109629
-Node: Language History1111127
-Node: V7/SVR3.11112783
-Node: SVR41114935
-Node: POSIX1116369
-Node: BTL1117749
-Node: POSIX/GNU1118478
-Node: Feature History1124256
-Node: Common Extensions1140115
-Node: Ranges and Locales1141398
-Ref: Ranges and Locales-Footnote-11146014
-Ref: Ranges and Locales-Footnote-21146041
-Ref: Ranges and Locales-Footnote-31146276
-Node: Contributors1146497
-Node: History summary1152442
-Node: Installation1153822
-Node: Gawk Distribution1154766
-Node: Getting1155250
-Node: Extracting1156213
-Node: Distribution contents1157851
-Node: Unix Installation1164331
-Node: Quick Installation1165013
-Node: Shell Startup Files1167427
-Node: Additional Configuration Options1168516
-Node: Configuration Philosophy1170809
-Node: Non-Unix Installation1173178
-Node: PC Installation1173638
-Node: PC Binary Installation1174476
-Node: PC Compiling1174911
-Node: PC Using1176028
-Node: Cygwin1179073
-Node: MSYS1179843
-Node: VMS Installation1180344
-Node: VMS Compilation1181135
-Ref: VMS Compilation-Footnote-11182364
-Node: VMS Dynamic Extensions1182422
-Node: VMS Installation Details1184107
-Node: VMS Running1186360
-Node: VMS GNV1190639
-Node: VMS Old Gawk1191374
-Node: Bugs1191845
-Node: Bug address1192508
-Node: Usenet1195300
-Node: Maintainers1196077
-Node: Other Versions1197338
-Node: Installation summary1204100
-Node: Notes1205302
-Node: Compatibility Mode1206167
-Node: Additions1206949
-Node: Accessing The Source1207874
-Node: Adding Code1209311
-Node: New Ports1215530
-Node: Derived Files1220018
-Ref: Derived Files-Footnote-11225664
-Ref: Derived Files-Footnote-21225699
-Ref: Derived Files-Footnote-31226297
-Node: Future Extensions1226411
-Node: Implementation Limitations1227069
-Node: Extension Design1228252
-Node: Old Extension Problems1229406
-Ref: Old Extension Problems-Footnote-11230924
-Node: Extension New Mechanism Goals1230981
-Ref: Extension New Mechanism Goals-Footnote-11234345
-Node: Extension Other Design Decisions1234534
-Node: Extension Future Growth1236647
-Node: Old Extension Mechanism1237483
-Node: Notes summary1239246
-Node: Basic Concepts1240428
-Node: Basic High Level1241109
-Ref: figure-general-flow1241391
-Ref: figure-process-flow1242076
-Ref: Basic High Level-Footnote-11245377
-Node: Basic Data Typing1245562
-Node: Glossary1248890
-Node: Copying1280728
-Node: GNU Free Documentation License1318267
-Node: Index1343385
+Ref: Internal File Ops-Footnote-11076837
+Node: Using Internal File Ops1076977
+Ref: Using Internal File Ops-Footnote-11079360
+Node: Extension Samples1079634
+Node: Extension Sample File Functions1081163
+Node: Extension Sample Fnmatch1088812
+Node: Extension Sample Fork1090299
+Node: Extension Sample Inplace1091517
+Node: Extension Sample Ord1094734
+Node: Extension Sample Readdir1095570
+Ref: table-readdir-file-types1096459
+Node: Extension Sample Revout1097264
+Node: Extension Sample Rev2way1097853
+Node: Extension Sample Read write array1098593
+Node: Extension Sample Readfile1100535
+Node: Extension Sample Time1101630
+Node: Extension Sample API Tests1102978
+Node: gawkextlib1103470
+Node: Extension summary1105926
+Node: Extension Exercises1109628
+Node: Language History1111126
+Node: V7/SVR3.11112782
+Node: SVR41114934
+Node: POSIX1116368
+Node: BTL1117748
+Node: POSIX/GNU1118477
+Node: Feature History1124255
+Node: Common Extensions1140114
+Node: Ranges and Locales1141397
+Ref: Ranges and Locales-Footnote-11146013
+Ref: Ranges and Locales-Footnote-21146040
+Ref: Ranges and Locales-Footnote-31146275
+Node: Contributors1146496
+Node: History summary1152441
+Node: Installation1153821
+Node: Gawk Distribution1154765
+Node: Getting1155249
+Node: Extracting1156212
+Node: Distribution contents1157850
+Node: Unix Installation1164330
+Node: Quick Installation1165012
+Node: Shell Startup Files1167426
+Node: Additional Configuration Options1168515
+Node: Configuration Philosophy1170808
+Node: Non-Unix Installation1173177
+Node: PC Installation1173637
+Node: PC Binary Installation1174475
+Node: PC Compiling1174910
+Node: PC Using1176027
+Node: Cygwin1179072
+Node: MSYS1179842
+Node: VMS Installation1180343
+Node: VMS Compilation1181134
+Ref: VMS Compilation-Footnote-11182363
+Node: VMS Dynamic Extensions1182421
+Node: VMS Installation Details1184106
+Node: VMS Running1186359
+Node: VMS GNV1190638
+Node: VMS Old Gawk1191373
+Node: Bugs1191844
+Node: Bug address1192507
+Node: Usenet1195299
+Node: Maintainers1196076
+Node: Other Versions1197337
+Node: Installation summary1204099
+Node: Notes1205301
+Node: Compatibility Mode1206166
+Node: Additions1206948
+Node: Accessing The Source1207873
+Node: Adding Code1209310
+Node: New Ports1215529
+Node: Derived Files1220017
+Ref: Derived Files-Footnote-11225663
+Ref: Derived Files-Footnote-21225698
+Ref: Derived Files-Footnote-31226296
+Node: Future Extensions1226410
+Node: Implementation Limitations1227068
+Node: Extension Design1228251
+Node: Old Extension Problems1229405
+Ref: Old Extension Problems-Footnote-11230923
+Node: Extension New Mechanism Goals1230980
+Ref: Extension New Mechanism Goals-Footnote-11234344
+Node: Extension Other Design Decisions1234533
+Node: Extension Future Growth1236646
+Node: Old Extension Mechanism1237482
+Node: Notes summary1239245
+Node: Basic Concepts1240427
+Node: Basic High Level1241108
+Ref: figure-general-flow1241390
+Ref: figure-process-flow1242075
+Ref: Basic High Level-Footnote-11245376
+Node: Basic Data Typing1245561
+Node: Glossary1248889
+Node: Copying1280727
+Node: GNU Free Documentation License1318266
+Node: Index1343384

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 5eb20995..843648fb 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -35125,7 +35125,7 @@ in the symbol table:
#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 = "testarray extension: version 1.0";
int plugin_is_GPL_compatible;
@@ -35867,7 +35867,7 @@ to make use of the API macros and boilerplate code
#include "stack.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 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/doc/gawktexi.in b/doc/gawktexi.in
index 17100b6b..551fcec5 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -34099,7 +34099,7 @@ in the symbol table:
#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 = "testarray extension: version 1.0";
int plugin_is_GPL_compatible;
@@ -34841,7 +34841,7 @@ to make use of the API macros and boilerplate code
#include "stack.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 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/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;