aboutsummaryrefslogtreecommitdiffstats
path: root/extension/rwarray.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-24 20:27:02 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-24 20:27:02 +0200
commit50d4a80f67e5bcbf3902138d85a25f6a90847d31 (patch)
tree18ebd4f82b1b5732977926b9bac4634bfb002759 /extension/rwarray.c
parentb9c0946c39a677f733d42a26d2de3f44131bbdd8 (diff)
downloadegawk-50d4a80f67e5bcbf3902138d85a25f6a90847d31.tar.gz
egawk-50d4a80f67e5bcbf3902138d85a25f6a90847d31.tar.bz2
egawk-50d4a80f67e5bcbf3902138d85a25f6a90847d31.zip
Add check for plugin license, make close on exec POSIX compatibile.
Diffstat (limited to 'extension/rwarray.c')
-rw-r--r--extension/rwarray.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extension/rwarray.c b/extension/rwarray.c
index ace5c84e..87232c7b 100644
--- a/extension/rwarray.c
+++ b/extension/rwarray.c
@@ -6,7 +6,7 @@
*/
/*
- * Copyright (C) 2009 the Free Software Foundation, Inc.
+ * Copyright (C) 2009, 2010 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -37,6 +37,8 @@
#define MAJOR 1
#define MINOR 0
+int plugin_is_GPL_compatible;
+
static int write_array(int fd, NODE *array);
static int write_elem(int fd, int index, NODE *item);
static int write_chain(int fd, int index, NODE *item);