This commit is contained in:
Attila Body 2025-05-26 10:22:03 +02:00
parent 0c66ff89b3
commit 9b8308eb4a
Signed by: abody
GPG key ID: BD0C6214E68FB5CF
11 changed files with 121 additions and 0 deletions

11
libs/lib3/inc/lib3.h Normal file
View file

@ -0,0 +1,11 @@
#pragma once
#include <stdio.h> // Standard I/O header is needed here because printf is used within this header-only function.
// Declared as static to prevent multiple definition errors.
// Since this is a header-only function, it will be included and compiled
// into every translation unit that includes lib3.h. 'static' limits its
// linkage to the current translation unit, preventing linker conflicts.
static void lib3_function()
{
printf("This is a function from Header-Only Library 3.\n");
}