From eeb0dc9e45c3af416ad79da83232c5aeb16e8165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Fri, 7 Jan 2022 23:46:39 +0100 Subject: [PATCH] put back newlines to avoid compilation warnings --- src/devices/audio.h | 2 +- src/devices/controller.c | 2 +- src/devices/controller.h | 2 +- src/devices/datetime.c | 2 +- src/devices/datetime.h | 2 +- src/devices/file.c | 2 +- src/devices/file.h | 2 +- src/devices/screen.c | 2 +- src/devices/screen.h | 2 +- src/devices/system.h | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/devices/audio.h b/src/devices/audio.h index f7a757c..f6d3fab 100644 --- a/src/devices/audio.h +++ b/src/devices/audio.h @@ -28,4 +28,4 @@ extern UxnAudio uxn_audio[POLYPHONY]; Uint8 audio_get_vu(UxnAudio *c); int audio_render(UxnAudio *c, Sint16 *sample, Sint16 *end); void audio_start(UxnAudio *c, Uint16 adsr, Uint8 pitch); -void audio_finished_handler(UxnAudio *c); \ No newline at end of file +void audio_finished_handler(UxnAudio *c); diff --git a/src/devices/controller.c b/src/devices/controller.c index cfc19e7..4d82a6b 100644 --- a/src/devices/controller.c +++ b/src/devices/controller.c @@ -49,4 +49,4 @@ controller_special(Device *d, Uint8 key) uxn_eval(d->u, d->vector); d->dat[4] = 0x00; } -} \ No newline at end of file +} diff --git a/src/devices/controller.h b/src/devices/controller.h index d1e96a7..ed7f831 100644 --- a/src/devices/controller.h +++ b/src/devices/controller.h @@ -13,4 +13,4 @@ WITH REGARD TO THIS SOFTWARE. void controller_down(Device *d, Uint8 mask); void controller_up(Device *d, Uint8 mask); void controller_key(Device *d, Uint8 key); -void controller_special(Device *d, Uint8 key); \ No newline at end of file +void controller_special(Device *d, Uint8 key); diff --git a/src/devices/datetime.c b/src/devices/datetime.c index 270c41e..b933377 100644 --- a/src/devices/datetime.c +++ b/src/devices/datetime.c @@ -37,4 +37,4 @@ datetime_dei(Device *d, Uint8 port) case 0xa: return t->tm_isdst; default: return d->dat[port]; } -} \ No newline at end of file +} diff --git a/src/devices/datetime.h b/src/devices/datetime.h index 69edcde..95a3739 100644 --- a/src/devices/datetime.h +++ b/src/devices/datetime.h @@ -10,4 +10,4 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. */ -Uint8 datetime_dei(Device *d, Uint8 port); \ No newline at end of file +Uint8 datetime_dei(Device *d, Uint8 port); diff --git a/src/devices/file.c b/src/devices/file.c index b3b76f2..916f835 100644 --- a/src/devices/file.c +++ b/src/devices/file.c @@ -177,4 +177,4 @@ file_deo(Device *d, Uint8 port) DEVPOKE16(0x2, res); break; } -} \ No newline at end of file +} diff --git a/src/devices/file.h b/src/devices/file.h index ce79987..26c4ff1 100644 --- a/src/devices/file.h +++ b/src/devices/file.h @@ -10,4 +10,4 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. */ -void file_deo(Device *d, Uint8 port); \ No newline at end of file +void file_deo(Device *d, Uint8 port); diff --git a/src/devices/screen.c b/src/devices/screen.c index 0d733ec..dbb3c9b 100644 --- a/src/devices/screen.c +++ b/src/devices/screen.c @@ -160,4 +160,4 @@ screen_deo(Device *d, Uint8 port) break; } } -} \ No newline at end of file +} diff --git a/src/devices/screen.h b/src/devices/screen.h index b3da3b8..7ddb8d6 100644 --- a/src/devices/screen.h +++ b/src/devices/screen.h @@ -36,4 +36,4 @@ void screen_clear(UxnScreen *p, Layer *layer); void screen_redraw(UxnScreen *p, Uint32 *pixels); Uint8 screen_dei(Device *d, Uint8 port); -void screen_deo(Device *d, Uint8 port); \ No newline at end of file +void screen_deo(Device *d, Uint8 port); diff --git a/src/devices/system.h b/src/devices/system.h index 5760ae8..7d40337 100644 --- a/src/devices/system.h +++ b/src/devices/system.h @@ -13,4 +13,4 @@ Uint8 system_dei(Device *d, Uint8 port); void system_deo(Device *d, Uint8 port); void system_deo_special(Device *d, Uint8 port); -extern Uxn supervisor; \ No newline at end of file +extern Uxn supervisor;