Skip to content
Snippets Groups Projects
Commit 9101c7b0 authored by Wojciech Przytuła's avatar Wojciech Przytuła
Browse files

make fns in test.h static inline

This is a good practice in header files to prevent duplicated
definition errors when linking.
parent 3c213297
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
#define SUCCESS_MARKER "<<success>>\n"
int test_success()
static inline int test_success()
{
// below unchecked syscall return code
write(STDERR_FILENO, SUCCESS_MARKER, sizeof(SUCCESS_MARKER));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment