Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include/sys
File: sysmacros.h
/* Definitions of macros to access `dev_t' values.
[0] Fix | Delete
Copyright (C) 1996-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _SYS_SYSMACROS_H
[18] Fix | Delete
#define _SYS_SYSMACROS_H 1
[19] Fix | Delete
[20] Fix | Delete
#include <features.h>
[21] Fix | Delete
#include <bits/types.h>
[22] Fix | Delete
#include <bits/sysmacros.h>
[23] Fix | Delete
[24] Fix | Delete
#define __SYSMACROS_DECL_TEMPL(rtype, name, proto) \
[25] Fix | Delete
extern rtype gnu_dev_##name proto __THROW __attribute_const__;
[26] Fix | Delete
[27] Fix | Delete
#define __SYSMACROS_IMPL_TEMPL(rtype, name, proto) \
[28] Fix | Delete
__extension__ __extern_inline __attribute_const__ rtype \
[29] Fix | Delete
__NTH (gnu_dev_##name proto)
[30] Fix | Delete
[31] Fix | Delete
__BEGIN_DECLS
[32] Fix | Delete
[33] Fix | Delete
__SYSMACROS_DECLARE_MAJOR (__SYSMACROS_DECL_TEMPL)
[34] Fix | Delete
__SYSMACROS_DECLARE_MINOR (__SYSMACROS_DECL_TEMPL)
[35] Fix | Delete
__SYSMACROS_DECLARE_MAKEDEV (__SYSMACROS_DECL_TEMPL)
[36] Fix | Delete
[37] Fix | Delete
#ifdef __USE_EXTERN_INLINES
[38] Fix | Delete
[39] Fix | Delete
__SYSMACROS_DEFINE_MAJOR (__SYSMACROS_IMPL_TEMPL)
[40] Fix | Delete
__SYSMACROS_DEFINE_MINOR (__SYSMACROS_IMPL_TEMPL)
[41] Fix | Delete
__SYSMACROS_DEFINE_MAKEDEV (__SYSMACROS_IMPL_TEMPL)
[42] Fix | Delete
[43] Fix | Delete
#endif
[44] Fix | Delete
[45] Fix | Delete
__END_DECLS
[46] Fix | Delete
[47] Fix | Delete
#ifndef __SYSMACROS_NEED_IMPLEMENTATION
[48] Fix | Delete
# undef __SYSMACROS_DECL_TEMPL
[49] Fix | Delete
# undef __SYSMACROS_IMPL_TEMPL
[50] Fix | Delete
# undef __SYSMACROS_DECLARE_MAJOR
[51] Fix | Delete
# undef __SYSMACROS_DECLARE_MINOR
[52] Fix | Delete
# undef __SYSMACROS_DECLARE_MAKEDEV
[53] Fix | Delete
# undef __SYSMACROS_DEFINE_MAJOR
[54] Fix | Delete
# undef __SYSMACROS_DEFINE_MINOR
[55] Fix | Delete
# undef __SYSMACROS_DEFINE_MAKEDEV
[56] Fix | Delete
#endif
[57] Fix | Delete
[58] Fix | Delete
#define major(dev) gnu_dev_major (dev)
[59] Fix | Delete
#define minor(dev) gnu_dev_minor (dev)
[60] Fix | Delete
#define makedev(maj, min) gnu_dev_makedev (maj, min)
[61] Fix | Delete
[62] Fix | Delete
#endif /* sys/sysmacros.h */
[63] Fix | Delete
[64] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function