codebase consolidated

This commit is contained in:
Thomas Klaehn 2019-07-09 14:11:03 +02:00
parent 6aa295a9fd
commit 1a6c514170
3 changed files with 8 additions and 8 deletions

6
inc/def.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef __INC_DEF_H__
#define __INC_DEF_H__
#define HELLO "Hello world!"
#endif // __INC_DEF_H__

View File

@ -1,6 +0,0 @@
#ifndef __INC_TEST_H__
#define __INC_TEST_H__
#endif // __INC_TEST_H__

View File

@ -1,10 +1,10 @@
#include <stdio.h> #include <stdio.h>
#include <test.h> #include <def.h>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
printf("Hello World\n"); printf("%s\n", HELLO);
return 0; return 0;
} }