Blame lib/getopt.in.h

Packit Service fdd496
/* Declarations for getopt.
Packit Service fdd496
   Copyright (C) 1989-2017 Free Software Foundation, Inc.
Packit Service fdd496
   This file is part of gnulib.
Packit Service fdd496
   Unlike most of the getopt implementation, it is NOT shared
Packit Service fdd496
   with the GNU C Library, which supplies a different version of
Packit Service fdd496
   this file.
Packit Service fdd496
Packit Service fdd496
   gnulib is free software; you can redistribute it and/or modify it
Packit Service fdd496
   under the terms of the GNU General Public License as
Packit Service fdd496
   published by the Free Software Foundation; either version 3 of
Packit Service fdd496
   the License, or (at your option) any later version.
Packit Service fdd496
Packit Service fdd496
   gnulib is distributed in the hope that it will be useful, but
Packit Service fdd496
   WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service fdd496
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service fdd496
   General Public License for more details.
Packit Service fdd496
Packit Service fdd496
   You should have received a copy of the GNU General Public
Packit Service fdd496
   License along with gnulib; if not, see <http://www.gnu.org/licenses/>.  */
Packit Service fdd496
Packit Service fdd496
#ifndef _@GUARD_PREFIX@_GETOPT_H
Packit Service fdd496
Packit Service fdd496
#if __GNUC__ >= 3
Packit Service fdd496
@PRAGMA_SYSTEM_HEADER@
Packit Service fdd496
#endif
Packit Service fdd496
@PRAGMA_COLUMNS@
Packit Service fdd496
Packit Service fdd496
/* The include_next requires a split double-inclusion guard.  We must
Packit Service fdd496
   also inform the replacement unistd.h to not recursively use
Packit Service fdd496
   <getopt.h>; our definitions will be present soon enough.  */
Packit Service fdd496
#if @HAVE_GETOPT_H@
Packit Service fdd496
# define _GL_SYSTEM_GETOPT
Packit Service fdd496
# @INCLUDE_NEXT@ @NEXT_GETOPT_H@
Packit Service fdd496
# undef _GL_SYSTEM_GETOPT
Packit Service fdd496
#endif
Packit Service fdd496
Packit Service fdd496
#define _@GUARD_PREFIX@_GETOPT_H 1
Packit Service fdd496
Packit Service fdd496
/* Standalone applications should #define __GETOPT_PREFIX to an
Packit Service fdd496
   identifier that prefixes the external functions and variables
Packit Service fdd496
   defined in getopt-core.h and getopt-ext.h.  When this happens,
Packit Service fdd496
   include the headers that might declare getopt so that they will not
Packit Service fdd496
   cause confusion if included after this file (if the system had
Packit Service fdd496
   <getopt.h>, we have already included it).  */
Packit Service fdd496
#if defined __GETOPT_PREFIX
Packit Service fdd496
# if !@HAVE_GETOPT_H@
Packit Service fdd496
#  define __need_system_stdlib_h
Packit Service fdd496
#  include <stdlib.h>
Packit Service fdd496
#  undef __need_system_stdlib_h
Packit Service fdd496
#  include <stdio.h>
Packit Service fdd496
#  include <unistd.h>
Packit Service fdd496
# endif
Packit Service fdd496
#endif
Packit Service fdd496
Packit Service fdd496
/* The definition of _GL_ARG_NONNULL is copied here.  */
Packit Service fdd496
Packit Service fdd496
#include <getopt-cdefs.h>
Packit Service fdd496
#include <getopt-pfx-core.h>
Packit Service fdd496
#include <getopt-pfx-ext.h>
Packit Service fdd496
Packit Service fdd496
#endif /* _@GUARD_PREFIX@_GETOPT_H */