diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-03-01 05:04:45 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | 2af04d6ec602b2068d35d5b976f070a1b065f307 (patch) | |
tree | 97965d941453a9d437a80f6fb022378586233b3d /include | |
parent | cff67f93caeb3f98261860904dd232f6b551299e (diff) |
Fix compiler join thread, fix compiliation with clang
Diffstat (limited to 'include')
-rw-r--r-- | include/compiler.h | 2 | ||||
-rw-r--r-- | include/defs.h | 2 | ||||
-rw-r--r-- | include/std/buffer.h | 2 | ||||
-rw-r--r-- | include/std/defs.h | 2 | ||||
-rw-r--r-- | include/std/file.h | 2 | ||||
-rw-r--r-- | include/std/log.h | 2 | ||||
-rw-r--r-- | include/std/mem.h | 2 | ||||
-rw-r--r-- | include/std/misc.h | 2 | ||||
-rw-r--r-- | include/std/scoped_allocator.h | 2 | ||||
-rw-r--r-- | include/std/thread.h | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/include/compiler.h b/include/compiler.h index 691263a..d01c756 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -28,4 +28,4 @@ CHECK_RESULT int amal_compiler_deinit(amal_compiler *self); CHECK_RESULT int amal_compiler_load_file(amal_compiler *self, BufferView filepath); /* TODO: amal_compiler_unload_file */ -#endif
\ No newline at end of file +#endif diff --git a/include/defs.h b/include/defs.h index 9b754d8..2baceb4 100644 --- a/include/defs.h +++ b/include/defs.h @@ -4,4 +4,4 @@ typedef struct ParserThreadData ParserThreadData; typedef struct amal_compiler amal_compiler; -#endif
\ No newline at end of file +#endif 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 |