about summary refs log tree commit diff
path: root/lib/util/shhopt.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-03 17:07:27 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-03 17:07:27 +0000
commit22cd9eb49b29a45dec1e9cf77067283c5f699aab (patch)
tree95cf4991dc45af224d993791bee0993888f79d1c /lib/util/shhopt.h
parent699a55aa0a964665ee53f084dc58192390c4e7f5 (diff)
downloadnetpbm-mirror-22cd9eb49b29a45dec1e9cf77067283c5f699aab.tar.gz
netpbm-mirror-22cd9eb49b29a45dec1e9cf77067283c5f699aab.tar.xz
netpbm-mirror-22cd9eb49b29a45dec1e9cf77067283c5f699aab.zip
Add OPTENTINIT
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@594 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/util/shhopt.h')
-rw-r--r--lib/util/shhopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/shhopt.h b/lib/util/shhopt.h
index 12b0ef22..ad0d2efc 100644
--- a/lib/util/shhopt.h
+++ b/lib/util/shhopt.h
@@ -202,6 +202,8 @@ typedef struct {
     OPTENTRY(shortvalue, longvalue, typevalue, outputvalue, flagvalue) \
     }
 
+#define OPTENTINIT OPTION_DEF[0].type = OPT_END
+
 
 struct optNameValue {
     const char * name;