From 6f784d98ea68be1544380268123647190e19c32f Mon Sep 17 00:00:00 2001 From: Denis Date: Sun, 10 Dec 2023 02:14:25 +0100 Subject: [PATCH] solving warning: no newline at the end of file --- dev_hidraw.h | 2 +- legion_go.c | 2 +- legion_go.h | 2 +- rogue_enemy.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev_hidraw.h b/dev_hidraw.h index b010342..f58d403 100644 --- a/dev_hidraw.h +++ b/dev_hidraw.h @@ -23,4 +23,4 @@ int16_t dev_hidraw_get_pid(const dev_hidraw_t *const in_dev); int16_t dev_hidraw_get_vid(const dev_hidraw_t *const in_dev); -int dev_hidraw_get_rdesc(const dev_hidraw_t *const in_dev, uint8_t *const out_buf_sz, size_t in_buf_sz, size_t *const out_rdesc_size); \ No newline at end of file +int dev_hidraw_get_rdesc(const dev_hidraw_t *const in_dev, uint8_t *const out_buf_sz, size_t in_buf_sz, size_t *const out_rdesc_size); diff --git a/legion_go.c b/legion_go.c index 621ef14..14bb240 100644 --- a/legion_go.c +++ b/legion_go.c @@ -3,4 +3,4 @@ input_dev_composite_t* legion_go_device_def(const controller_settings_t *const settings) { // TODO: return the legion go definition here return NULL; -} \ No newline at end of file +} diff --git a/legion_go.h b/legion_go.h index e67b771..712459c 100644 --- a/legion_go.h +++ b/legion_go.h @@ -3,4 +3,4 @@ #include "input_dev.h" #include "settings.h" -input_dev_composite_t* legion_go_device_def(const controller_settings_t *const settings); \ No newline at end of file +input_dev_composite_t* legion_go_device_def(const controller_settings_t *const settings); diff --git a/rogue_enemy.c b/rogue_enemy.c index a9627ef..218b4ff 100644 --- a/rogue_enemy.c +++ b/rogue_enemy.c @@ -4,4 +4,4 @@ int32_t div_round_closest(int32_t x, int32_t divisor) { const int32_t __x = x; const int32_t __d = divisor; return ((__x) > 0) == ((__d) > 0) ? (((__x) + ((__d) / 2)) / (__d)) : (((__x) - ((__d) / 2)) / (__d)); -} \ No newline at end of file +}