From: Brett Gordon Date: Sun, 6 Mar 2016 18:53:41 +0000 (-0500) Subject: coco3: move devtty_init() to .discard section, clean up whitespace. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e42d98b46e417686f3728713d3f47800aa77f73c;p=FUZIX.git coco3: move devtty_init() to .discard section, clean up whitespace. --- diff --git a/Kernel/platform-coco3/devtty.c b/Kernel/platform-coco3/devtty.c index 84d5553a..bfeb5491 100644 --- a/Kernel/platform-coco3/devtty.c +++ b/Kernel/platform-coco3/devtty.c @@ -510,9 +510,10 @@ inval: udata.u_error = EINVAL; uint8_t rgb_def_pal[16]={ 0, 8, 32, 40, 16, 24, 48, 63, - 0, 8, 32, 40, 16, 24, 48, 63 + 0, 8, 32, 40, 16, 24, 48, 63 }; +__attribute__((section(".discard"))) void devtty_init() { int i;