scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

labs.c (82B)


      1 #include <stdlib.h>
      2 
      3 #undef labs
      4 
      5 long
      6 labs(long n)
      7 {
      8 	return (n < 0) ? -n : n;
      9 }