aboutsummaryrefslogtreecommitdiff
path: root/include/std
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-01 05:04:45 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit2af04d6ec602b2068d35d5b976f070a1b065f307 (patch)
tree97965d941453a9d437a80f6fb022378586233b3d /include/std
parentcff67f93caeb3f98261860904dd232f6b551299e (diff)
Fix compiler join thread, fix compiliation with clang
Diffstat (limited to 'include/std')
-rw-r--r--include/std/buffer.h2
-rw-r--r--include/std/defs.h2
-rw-r--r--include/std/file.h2
-rw-r--r--include/std/log.h2
-rw-r--r--include/std/mem.h2
-rw-r--r--include/std/misc.h2
-rw-r--r--include/std/scoped_allocator.h2
-rw-r--r--include/std/thread.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/include/std/buffer.h b/include/std/buffer.h
index ed87f29..02cc20a 100644
--- a/include/std/buffer.h
+++ b/include/std/buffer.h
@@ -20,4 +20,4 @@ CHECK_RESULT int buffer_append(Buffer *self, void *data, usize size);
void* buffer_get(Buffer *self, usize index, usize type_size);
CHECK_RESULT int buffer_pop(Buffer *self, void *data, usize size);
-#endif \ No newline at end of file
+#endif
diff --git a/include/std/defs.h b/include/std/defs.h
index 1376e16..653bf73 100644
--- a/include/std/defs.h
+++ b/include/std/defs.h
@@ -4,4 +4,4 @@
typedef struct amal_thread amal_thread;
typedef struct amal_mutex amal_mutex;
-#endif \ No newline at end of file
+#endif
diff --git a/include/std/file.h b/include/std/file.h
index 53d9da3..4224346 100644
--- a/include/std/file.h
+++ b/include/std/file.h
@@ -26,4 +26,4 @@ CHECK_RESULT int mapped_file_deinit(MappedFile *self);
CHECK_RESULT int read_whole_file(const char *filepath, char **data, usize *size);
-#endif \ No newline at end of file
+#endif
diff --git a/include/std/log.h b/include/std/log.h
index 6ce9e4c..d13c5bf 100644
--- a/include/std/log.h
+++ b/include/std/log.h
@@ -10,4 +10,4 @@ void amal_log_info(const char *fmt, ...);
void amal_log_warning(const char *fmt, ...);
void amal_log_perror(const char *prefix);
-#endif \ No newline at end of file
+#endif
diff --git a/include/std/mem.h b/include/std/mem.h
index a5fe9b4..8d91a5a 100644
--- a/include/std/mem.h
+++ b/include/std/mem.h
@@ -8,4 +8,4 @@ void am_memcpy(void *dest, const void *src, usize size);
bool am_memeql(const void *lhs, const void *rhs, usize size);
void am_memset(void *dest, int value, usize size);
-#endif \ No newline at end of file
+#endif
diff --git a/include/std/misc.h b/include/std/misc.h
index 3ac524a..b979d9c 100644
--- a/include/std/misc.h
+++ b/include/std/misc.h
@@ -30,4 +30,4 @@ typedef enum {
#define NULL ((void*)0)
#endif
-#endif \ No newline at end of file
+#endif
diff --git a/include/std/scoped_allocator.h b/include/std/scoped_allocator.h
index fdaee2a..ad6e2dd 100644
--- a/include/std/scoped_allocator.h
+++ b/include/std/scoped_allocator.h
@@ -28,4 +28,4 @@ void scoped_allocator_deinit(ScopedAllocator *self);
CHECK_RESULT int scoped_allocator_alloc(ScopedAllocator *self, usize size, void **mem);
CHECK_RESULT int scoped_allocator_add_buffer(ScopedAllocator *self, Buffer *buffer);
-#endif \ No newline at end of file
+#endif
diff --git a/include/std/thread.h b/include/std/thread.h
index dd09039..972ce3a 100644
--- a/include/std/thread.h
+++ b/include/std/thread.h
@@ -47,4 +47,4 @@ bool amal_thread_is_main();
/* Returns 0 if the number of usable threads is unknown */
int amal_get_usable_thread_count();
-#endif \ No newline at end of file
+#endif