summaryrefslogtreecommitdiff
path: root/src/libopts/genshell.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-07-29 22:21:36 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-07-29 22:21:36 +0200
commit3d1a66d4f2716c72b146c6ec1feb2d886e2ef3b3 (patch)
tree674af7618e1a648d0ababe47ab2259032697140b /src/libopts/genshell.h
parentd294543ea086a8075363274a6e73780f28474a0c (diff)
downloadgnutls-3d1a66d4f2716c72b146c6ec1feb2d886e2ef3b3.tar.gz
updated to libopts 5.18.3
Diffstat (limited to 'src/libopts/genshell.h')
-rw-r--r--src/libopts/genshell.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/libopts/genshell.h b/src/libopts/genshell.h
index 9ae53720d6..3a24e46f8f 100644
--- a/src/libopts/genshell.h
+++ b/src/libopts/genshell.h
@@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (genshell.h)
*
- * It has been AutoGen-ed October 16, 2013 at 01:46:16 PM by AutoGen 5.18.2
+ * It has been AutoGen-ed May 17, 2014 at 07:49:48 AM by AutoGen 5.18.3
* From the definitions genshell.def
* and the template file options
*
- * Generated from AutoOpts 40:1:15 templates.
+ * Generated from AutoOpts 40:2:15 templates.
*
* AutoOpts is a copyrighted work. This header file is not encumbered
* by AutoOpts licensing, but is provided under the licensing terms chosen
@@ -19,7 +19,7 @@
* The genshellopt program is copyrighted and licensed
* under the following terms:
*
- * Copyright (C) 1999-2013 Bruce Korb, all rights reserved.
+ * Copyright (C) 1999-2014 Bruce Korb, all rights reserved.
* This is free software. It is licensed for use, modification and
* redistribution under the terms of the GNU Lesser General Public License,
* version 2 or later <http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html>
@@ -55,7 +55,7 @@
* tolerable version is at least as old as what was current when the header
* template was released.
*/
-#define AO_TEMPLATE_VERSION 163841
+#define AO_TEMPLATE_VERSION 163842
#if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \
|| (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION)
# error option template version mismatches autoopts/options.h header
@@ -130,11 +130,11 @@ typedef enum {
*/
#define VALUE_GENSHELL_OPT_SCRIPT 'o'
#define VALUE_GENSHELL_OPT_SHELL 's'
-/** option flag (value) for " (get "val-name") " option */
+/** option flag (value) for help-value option */
#define VALUE_GENSHELL_OPT_HELP '?'
-/** option flag (value) for " (get "val-name") " option */
+/** option flag (value) for more-help-value option */
#define VALUE_GENSHELL_OPT_MORE_HELP '!'
-/** option flag (value) for " (get "val-name") " option */
+/** option flag (value) for version-value option */
#define VALUE_GENSHELL_OPT_VERSION 'v'
/*
* Interface defines not associated with particular options
@@ -167,6 +167,11 @@ extern tOptions genshelloptOptions;
# include <libintl.h>
# endif
+# ifndef ATTRIBUTE_FORMAT_ARG
+# define ATTRIBUTE_FORMAT_ARG(_a)
+# endif
+
+static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1);
static inline char* aoGetsText(char const* pz) {
if (pz == NULL) return NULL;
return (char*)gettext(pz);