mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
[PATCH] update klibc to version .107
This commit is contained in:
parent
eb10f97f28
commit
5a98bc58e4
@ -5,6 +5,7 @@
|
||||
#ifndef _ENDIAN_H
|
||||
#define _ENDIAN_H
|
||||
|
||||
#include <klibc/compiler.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
/* Linux' asm/byteorder.h defines either __LITTLE_ENDIAN or
|
||||
|
@ -65,4 +65,38 @@
|
||||
# define __unusedfunc
|
||||
#endif
|
||||
|
||||
/* "pure" function:
|
||||
|
||||
Many functions have no effects except the return value and their
|
||||
return value depends only on the parameters and/or global
|
||||
variables. Such a function can be subject to common subexpression
|
||||
elimination and loop optimization just as an arithmetic operator
|
||||
would be. These functions should be declared with the attribute
|
||||
`pure'.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
# define __attribute_pure__ __attribute__((pure))
|
||||
#else
|
||||
# define __attribute_pure__
|
||||
#endif
|
||||
|
||||
/* "const" function:
|
||||
|
||||
Many functions do not examine any values except their arguments,
|
||||
and have no effects except the return value. Basically this is
|
||||
just slightly more strict class than the `pure' attribute above,
|
||||
since function is not allowed to read global memory.
|
||||
|
||||
Note that a function that has pointer arguments and examines the
|
||||
data pointed to must _not_ be declared `const'. Likewise, a
|
||||
function that calls a non-`const' function usually must not be
|
||||
`const'. It does not make sense for a `const' function to return
|
||||
`void'.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
# define __attribute_const__ __attribute__((const))
|
||||
#else
|
||||
# define __attribute_const__
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1 +1 @@
|
||||
0.107
|
||||
0.108
|
||||
|
Loading…
Reference in New Issue
Block a user