Demo on the uses of the static reserved word

This commit is contained in:
kdeng00
2020-11-04 21:20:39 -05:00
parent faa919d6ed
commit 47e0041c86
4 changed files with 86 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
/* Does something to a number. This function is static and
* will not be accessible outside of this file. Functions and
* variables defined as static are not visible to outside
* files. This function is private to this file and can only
* be called from within.
*/
static void do_something(void);
int Number_get_number(void);