commit 3d9d5493a6b905c4abf9b881d97c06b14598cf50
parent ab0a5e34b758bb026ecb3d99b2c6c6819db9e9bd
Author: Yersa Nordman <finwo@pm.me>
Date: Wed, 17 Jun 2020 11:46:11 +0200
Include whole path in file deduplication definition
Diffstat:
5 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/Makefile b/Makefile
@@ -11,7 +11,7 @@ libmatter.a: $(OBJ)
$(AR) -cvq $@ $(OBJ)
%.o: %.c
- $(LLE) -Ofast -S $(CFLAGS) -nostdinc -fno-builtin -Iinclude -Iarch/$(TARGET)/include -c $< -o $(@:.o=.ll)
+ $(LLE) -Ofast -S $(CFLAGS) -nostdinc -fno-builtin -Iarch/$(TARGET)/include -Iinclude -c $< -o $(@:.o=.ll)
$(LLC) -filetype=obj -O3 $(@:.o=.ll)
.PHONY: clean
diff --git a/src/malloc/malloc.c b/src/malloc/malloc.c
@@ -1,5 +1,5 @@
-#ifndef _MALLOC_C_
-#define _MALLOC_C_
+#ifndef _MALLOC_MALLOC_C_
+#define _MALLOC_MALLOC_C_
#include <malloc.h>
#include <string.h>
@@ -122,4 +122,4 @@ void *calloc(size_t nelem, size_t elsize) {
return ptr;
}
-#endif // _MALLOC_C_
+#endif // _MALLOC_MALLOC_C_
diff --git a/src/string/memcmp.c b/src/string/memcmp.c
@@ -1,5 +1,5 @@
-#ifndef _MEMCMP_C_
-#define _MEMCMP_C_
+#ifndef _STRING_MEMCMP_C_
+#define _STRING_MEMCMP_C_
#include <string.h>
@@ -16,4 +16,4 @@ int memcmp (const void *str1, const void *str2, int count) {
return 0;
}
-#endif // _MEMCMP_C_
+#endif // _STRING_MEMCMP_C_
diff --git a/src/string/memcpy.c b/src/string/memcpy.c
@@ -1,5 +1,5 @@
-#ifndef _MEMCPY_C_
-#define _MEMCPY_C_
+#ifndef _STRING_MEMCPY_C_
+#define _STRING_MEMCPY_C_
#include <string.h>
@@ -12,4 +12,4 @@ void * memcpy (void *dest, const void *src, size_t len) {
return dest;
}
-#endif // _MEMCPY_C_
+#endif // _STRING_MEMCPY_C_
diff --git a/src/string/memset.c b/src/string/memset.c
@@ -1,5 +1,5 @@
-#ifndef _MEMSET_C_
-#define _MEMSET_C_
+#ifndef _STRING_MEMSET_C_
+#define _STRING_MEMSET_C_
#include <string.h>
@@ -10,4 +10,4 @@ void * memset (void *dest, int val, size_t len) {
return dest;
}
-#endif // _MEMSET_C_
+#endif // _STRING_MEMSET_C_