diff options
author | Camil Staps | 2016-02-01 17:47:57 +0100 |
---|---|---|
committer | Camil Staps | 2016-02-01 17:47:57 +0100 |
commit | 921200f7d3790ba5a1f61d750b6d84bf917db966 (patch) | |
tree | 3409353cfe827abdc0b9fabacf8bef787d1912ed /test.c | |
parent | Better practices string copying (diff) |
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,6 +22,7 @@ SOFTWARE. */ #include <stdlib.h> #include <string.h> +#include <stdio.h> double test_double(double x) { return x * 0.5; @@ -45,3 +46,7 @@ int test_two_params(int a, int b) { return a + b; } +void test_void(char* s) { + printf("%s", s); +} + |