diff options
Diffstat (limited to 'src/std')
-rw-r--r-- | src/std/buffer.c | 2 | ||||
-rw-r--r-- | src/std/buffer_view.c | 2 | ||||
-rw-r--r-- | src/std/file.c | 2 | ||||
-rw-r--r-- | src/std/log.c | 2 | ||||
-rw-r--r-- | src/std/mem.c | 2 | ||||
-rw-r--r-- | src/std/scoped_allocator.c | 2 | ||||
-rw-r--r-- | src/std/thread.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/std/buffer.c b/src/std/buffer.c index f32c515..c4c9845 100644 --- a/src/std/buffer.c +++ b/src/std/buffer.c @@ -59,4 +59,4 @@ int buffer_pop(Buffer *self, void *data, usize size) { am_memcpy(data, &self->data[self->size - size], size); self->size -= size; return 0; -}
\ No newline at end of file +} diff --git a/src/std/buffer_view.c b/src/std/buffer_view.c index 977626c..8ddfab9 100644 --- a/src/std/buffer_view.c +++ b/src/std/buffer_view.c @@ -12,4 +12,4 @@ BufferView create_buffer_view(const char *data, usize size) { buffer_view.data = data; buffer_view.size = size; return buffer_view; -}
\ No newline at end of file +} diff --git a/src/std/file.c b/src/std/file.c index 3cd0798..46099b4 100644 --- a/src/std/file.c +++ b/src/std/file.c @@ -201,4 +201,4 @@ int read_whole_file(const char *filepath, char **data, usize *size) { cleanup: fclose(file); return result; -}
\ No newline at end of file +} diff --git a/src/std/log.c b/src/std/log.c index 1fd0e4e..2563bdc 100644 --- a/src/std/log.c +++ b/src/std/log.c @@ -73,4 +73,4 @@ void amal_log_perror(const char *prefix) { ignore_result_int(amal_mutex_lock(&mutex, NULL)); perror(prefix); ignore_result_int(amal_mutex_unlock(&mutex)); -}
\ No newline at end of file +} diff --git a/src/std/mem.c b/src/std/mem.c index 5bdb73b..ec7520c 100644 --- a/src/std/mem.c +++ b/src/std/mem.c @@ -11,4 +11,4 @@ bool am_memeql(const void *lhs, const void *rhs, usize size) { void am_memset(void *dest, int value, usize size) { memset(dest, value, size); -}
\ No newline at end of file +} diff --git a/src/std/scoped_allocator.c b/src/std/scoped_allocator.c index deb9e1e..dfed0b7 100644 --- a/src/std/scoped_allocator.c +++ b/src/std/scoped_allocator.c @@ -100,4 +100,4 @@ int scoped_allocator_alloc(ScopedAllocator *self, usize size, void **mem) { int scoped_allocator_add_buffer(ScopedAllocator *self, Buffer *buffer) { return buffer_append(&self->buffers, buffer, sizeof(Buffer)); -}
\ No newline at end of file +} diff --git a/src/std/thread.c b/src/std/thread.c index 4f27c1d..c8dba9a 100644 --- a/src/std/thread.c +++ b/src/std/thread.c @@ -141,4 +141,4 @@ bool amal_thread_is_main() { int amal_get_usable_thread_count() { return get_nprocs(); -}
\ No newline at end of file +} |