prog.c: In function 'main':
prog.c:29:19: warning: implicit declaration of function 'give' [-Wimplicit-function-declaration]
Results = give(intdays);
^
prog.c:36:19: warning: implicit declaration of function 'getting' [-Wimplicit-function-declaration]
Results = getting(intdays);
^
prog.c:11:10: warning: variable 'doMath' set but not used [-Wunused-but-set-variable]
float doMath;
^
prog.c: At top level:
prog.c:52:7: error: conflicting types for 'give'
float give(float value)
^
prog.c:29:19: note: previous implicit declaration of 'give' was here
Results = give(intdays);
^
prog.c:58:7: error: conflicting types for 'getting'
float getting(float value)
^
prog.c:36:19: note: previous implicit declaration of 'getting' was here
Results = getting(intdays);
^
prog.c: In function 'give':
prog.c:55:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
prog.c: In function 'getting':
prog.c:61:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^