Add variety to function prototypes.

This commit is contained in:
Levi Bostian 2013-11-23 22:40:52 -06:00
parent 981cc871a4
commit 38de481179

View File

@ -38,8 +38,8 @@ enum days {SUN = 1, MON, TUE, WED, THU, FRI, SAT};
// Declare function signatures in advance in a .h file, or at the top of // Declare function signatures in advance in a .h file, or at the top of
// your .c file. // your .c file.
void function_1(); void function_1(char s[]);
void function_2(); int function_2(void);
// Must declare a 'function prototype' before main() when functions occur after // Must declare a 'function prototype' before main() when functions occur after
// your main() function. // your main() function.