You basically have 3 choices...
1) Copy and paste it into your source code.
2) Put it into a separate .c file and use an include (.h) to prototype it.
3) Create a static library (.lib) and use an include file to prototype it.
The first one should be obvious... The second should be covered in any good C language textbook or tutorial and the third is probably impractical for a single function (libraries tend to be collections of functions).
If you post your source code showing the function and where you want to call it, we might be able to give you better advice...