From 9fe684a0f488eca8d8b60c3d75e4df037773d8d8 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 29 Aug 2018 13:56:19 +0000 Subject: Add missing common code samples --- my-common-code/api.c | 7 +++++++ my-common-code/api.h | 1 + 2 files changed, 8 insertions(+) create mode 100644 my-common-code/api.c create mode 100644 my-common-code/api.h (limited to 'my-common-code') diff --git a/my-common-code/api.c b/my-common-code/api.c new file mode 100644 index 0000000..ec24e0c --- /dev/null +++ b/my-common-code/api.c @@ -0,0 +1,7 @@ + +#include "api.h" + +int my_func(int a) +{ + return a * 3; +} diff --git a/my-common-code/api.h b/my-common-code/api.h new file mode 100644 index 0000000..b5a9c98 --- /dev/null +++ b/my-common-code/api.h @@ -0,0 +1 @@ +int my_func(int a); -- cgit v1.2.3-70-g09d2