Is this a global feature? Add β static β if it is used only in the current file.
Possible reasons are as follows:
no previous prototype for `foo '
This means that GCC discovered a global function definition without seeing a function prototype. If the function is used in more than one file, there must be a prototype in the header file. This prevents synchronization of functions and their use.
If the function is used only in this file, make it static to ensure that it will never be used outside this file and document its local function
basicthinker Feb 03 2018-12-12T00: 00Z
source share