diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2019-10-11 14:44:39 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2019-10-30 10:39:11 +0100 |
commit | eee623ff6463ad6ee837b43421a69965913d32e2 (patch) | |
tree | f41518e4e9c0c9904bbe8c8cebe7987bb8bda8cf /src/libopts/genshell.h | |
parent | ce8557344cbe9ac6f6326700e11673239a36129b (diff) | |
download | gnutls-eee623ff6463ad6ee837b43421a69965913d32e2.tar.gz |
updated to libopts 5.18.16
This fixes compilation in Fedora 30 which ships with this
version of autogen.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src/libopts/genshell.h')
-rw-r--r-- | src/libopts/genshell.h | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/libopts/genshell.h b/src/libopts/genshell.h index 1ea44de71a..994af16909 100644 --- a/src/libopts/genshell.h +++ b/src/libopts/genshell.h @@ -6,7 +6,7 @@ * From the definitions genshell.def * and the template file options * - * Generated from AutoOpts 41:1:16 templates. + * Generated from AutoOpts 42:1:17 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -19,10 +19,10 @@ * The genshellopt program is copyrighted and licensed * under the following terms: * - * Copyright (C) 1999-2014 Bruce Korb, all rights reserved. + * Copyright (C) 1999-2018 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 <https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html> + * version 2 or later <http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html> * * The genshellopt library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public License as @@ -36,7 +36,7 @@ * * You should have received a copy of the GNU Library General Public * License along with this library; if not, see - * <https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html> + * <http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html> */ /** * This file contains the programmatic interface to the Automated @@ -47,6 +47,8 @@ #ifndef AUTOOPTS_GENSHELL_H_GUARD #define AUTOOPTS_GENSHELL_H_GUARD 1 #include <autoopts/options.h> +#include <stdarg.h> +#include <stdnoreturn.h> /** * Ensure that the library used for compiling this generated header is at @@ -55,13 +57,19 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 167937 +#define AO_TEMPLATE_VERSION 172033 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header Choke Me. #endif +#if GCC_VERSION > 40400 +#define NOT_REACHED __builtin_unreachable(); +#else +#define NOT_REACHED +#endif + /** * Enumeration of each option type for genshellopt */ @@ -150,6 +158,12 @@ typedef enum { #ifdef __cplusplus extern "C" { #endif +/* + * global exported definitions + */ +#define ch_t unsigned char +#define cc_t const unsigned char +#define cch_t char const /* * * * * * @@ -201,6 +215,7 @@ static inline char* aoGetsText(char const* pz) { # endif #endif /* ENABLE_NLS */ + #ifdef __cplusplus } #endif |