Blame lib/arg-nonnull.h

Packit Service fdd496
/* A C macro for declaring that specific arguments must not be NULL.
Packit Service fdd496
   Copyright (C) 2009-2017 Free Software Foundation, Inc.
Packit Service fdd496
Packit Service fdd496
   This program is free software: you can redistribute it and/or modify it
Packit Service fdd496
   under the terms of the GNU General Public License as published
Packit Service fdd496
   by the Free Software Foundation; either version 3 of the License, or
Packit Service fdd496
   (at your option) any later version.
Packit Service fdd496
Packit Service fdd496
   This program is distributed in the hope that it will be useful,
Packit Service fdd496
   but 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 License
Packit Service fdd496
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
Packit Service fdd496
Packit Service fdd496
/* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools
Packit Service fdd496
   that the values passed as arguments n, ..., m must be non-NULL pointers.
Packit Service fdd496
   n = 1 stands for the first argument, n = 2 for the second argument etc.  */
Packit Service fdd496
#ifndef _GL_ARG_NONNULL
Packit Service fdd496
# if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
Packit Service fdd496
#  define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
Packit Service fdd496
# else
Packit Service fdd496
#  define _GL_ARG_NONNULL(params)
Packit Service fdd496
# endif
Packit Service fdd496
#endif