/in/foo.c: In function 'main':
/in/foo.c:30:5: warning: 'main' is normally a non-static function [-Wmain]
int main(void)
^~~~
/in/foo.c:48:5: error: static declaration of 'up' follows non-static declaration
int up(int low,int high)
^~
/in/foo.c:28:5: note: previous declaration of 'up' was here
int up(int low,int high);
^~
/in/foo.c:67:5: error: static declaration of 'down' follows non-static declaration
int down(int low,int high)
^~~~
/in/foo.c:29:5: note: previous declaration of 'down' was here
int down(int low,int high);
^~~~
/in/foo.c:85:1: error: expected declaration or statement at end of input
}
^
/in/foo.c:85:1: error: expected declaration or statement at end of input
At top level:
/in/foo.c:67:5: warning: 'down' defined but not used [-Wunused-function]
int down(int low,int high)
^~~~
/in/foo.c:48:5: warning: 'up' defined but not used [-Wunused-function]
int up(int low,int high)
^~
/in/foo.c:30:5: warning: 'main' defined but not used [-Wunused-function]
int main(void)
^~~~