scc

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

labs.c (81B)


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