This website requires JavaScript.
Explore
Help
Sign In
fluencelabs
/
musl
Watch
1
Star
0
Fork
0
You've already forked musl
mirror of
https://github.com/fluencelabs/musl
synced
2025-04-25 07:12:15 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
musl
/
src
/
stdlib
/
labs.c
7 lines
65 B
C
Raw
Normal View
History
Unescape
Escape
add public interface headers to implementation files general policy is that all source files defining a public API or an ABI mechanism referenced by a public header should include the public header that declares the interface, so that the compiler or analysis tools can check the consistency of the declarations. Alexander Monakov pointed out a number of violations of this principle a few years back. fix them now.
2018-02-25 21:13:38 -05:00
#
include
<stdlib.h>
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
long
labs
(
long
a
)
{
return
a
>
0
?
a
:
-
a
;
}
Reference in New Issue
Copy Permalink