scc

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

abs.c (77B)


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