My school forbids function definitions and .c file inclusions in header files.
Is there a way to inline a function that is declared in a header file and defined in a .c file, while following the above mentioned constraints?
At school we use macs, which apparently, have some strange mix of gcc 4.2 and llvm 9.1.
Thank you.Code:gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 9.1.0 (clang-902.0.39.1) Target: x86_64-apple-darwin17.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin