1 /* -*- buffer-read-only: t -*- vi: set ro: */ 2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ 3 /* Declarations for getopt. 4 Copyright (C) 1989-2019 Free Software Foundation, Inc. 5 This file is part of gnulib. 6 Unlike most of the getopt implementation, it is NOT shared 7 with the GNU C Library, which supplies a different version of 8 this file. 9 10 This file is free software; you can redistribute it and/or modify it 11 under the terms of the GNU General Public License as 12 published by the Free Software Foundation; either version 3 of 13 the License, or (at your option) any later version. 14 15 This file is distributed in the hope that it will be useful, but 16 WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 General Public License for more details. 19 20 You should have received a copy of the GNU General Public 21 License along with gnulib; if not, see <https://www.gnu.org/licenses/>. */ 22 23 #ifndef _@GUARD_PREFIX@_GETOPT_H 24 25 #if __GNUC__ >= 3 26 @PRAGMA_SYSTEM_HEADER@ 27 #endif 28 @PRAGMA_COLUMNS@ 29 30 /* The include_next requires a split double-inclusion guard. We must 31 also inform the replacement unistd.h to not recursively use 32 <getopt.h>; our definitions will be present soon enough. */ 33 #if @HAVE_GETOPT_H@ 34 # define _GL_SYSTEM_GETOPT 35 # @INCLUDE_NEXT@ @NEXT_GETOPT_H@ 36 # undef _GL_SYSTEM_GETOPT 37 #endif 38 39 #define _@GUARD_PREFIX@_GETOPT_H 1 40 41 /* Standalone applications should #define __GETOPT_PREFIX to an 42 identifier that prefixes the external functions and variables 43 defined in getopt-core.h and getopt-ext.h. When this happens, 44 include the headers that might declare getopt so that they will not 45 cause confusion if included after this file (if the system had 46 <getopt.h>, we have already included it). */ 47 #if defined __GETOPT_PREFIX 48 # if !@HAVE_GETOPT_H@ 49 # define __need_system_stdlib_h 50 # include <stdlib.h> 51 # undef __need_system_stdlib_h 52 # include <stdio.h> 53 # include <unistd.h> 54 # endif 55 #endif 56 57 /* The definition of _GL_ARG_NONNULL is copied here. */ 58 59 #include <getopt-cdefs.h> 60 #include <getopt-pfx-core.h> 61 #include <getopt-pfx-ext.h> 62 63 #endif /* _@GUARD_PREFIX@_GETOPT_H */ 64