Blame include/misc.h

rpm-build 0a0c83
/*
rpm-build 0a0c83
  Copyright (C) 2009  Andreas Gruenbacher <agruen@suse.de>
rpm-build 0a0c83
rpm-build 0a0c83
  This program is free software: you can redistribute it and/or modify it
rpm-build 0a0c83
  under the terms of the GNU Lesser General Public License as published by
rpm-build 0a0c83
  the Free Software Foundation, either version 2.1 of the License, or
rpm-build 0a0c83
  (at your option) any later version.
rpm-build 0a0c83
rpm-build 0a0c83
  This program is distributed in the hope that it will be useful,
rpm-build 0a0c83
  but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 0a0c83
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
rpm-build 0a0c83
  GNU General Public License for more details.
rpm-build 0a0c83
rpm-build 0a0c83
  You should have received a copy of the GNU General Public License
rpm-build 0a0c83
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
rpm-build 0a0c83
 */
rpm-build 0a0c83
rpm-build 0a0c83
#ifndef __MISC_H
rpm-build 0a0c83
#define __MISC_H
rpm-build 0a0c83
rpm-build 0a0c83
#include <stdio.h>
rpm-build 0a0c83
rpm-build 0a0c83
/* Mark library internal functions as hidden */
rpm-build 0a0c83
#if defined(HAVE_VISIBILITY_ATTRIBUTE)
rpm-build 0a0c83
# define hidden __attribute__((visibility("hidden")))
rpm-build 0a0c83
#else
rpm-build 0a0c83
# define hidden /* hidden */
rpm-build 0a0c83
#endif
rpm-build 0a0c83
rpm-build 0a0c83
hidden int __acl_high_water_alloc(void **buf, size_t *bufsize, size_t newsize);
rpm-build 0a0c83
rpm-build 0a0c83
hidden const char *__acl_quote(const char *str, const char *quote_chars);
rpm-build 0a0c83
hidden char *__acl_unquote(char *str);
rpm-build 0a0c83
rpm-build 0a0c83
hidden char *__acl_next_line(FILE *file);
rpm-build 0a0c83
rpm-build 0a0c83
#ifdef ENABLE_NLS
rpm-build 0a0c83
# include <libintl.h>
rpm-build 0a0c83
# define _(x)			gettext(x)
rpm-build 0a0c83
#else
rpm-build 0a0c83
# define _(x)			(x)
rpm-build 0a0c83
# define textdomain(d)		do { } while (0)
rpm-build 0a0c83
# define bindtextdomain(d,dir)	do { } while (0)
rpm-build 0a0c83
#endif
rpm-build 0a0c83
#include <locale.h>
rpm-build 0a0c83
rpm-build 0a0c83
#endif