From 6fcb8e3762f563eabb272344679ce8e4a98d0098 Mon Sep 17 00:00:00 2001 From: turbocat Date: Tue, 6 Apr 2021 21:03:28 +0000 Subject: [PATCH] kolibri-libc: - Removed attribute "O0" in _ksys_process_info that caused strange behavior in kos32-gcc v4.8.2 - Window centering in wolf3d should be fixed git-svn-id: svn://kolibrios.org@8669 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/kolibri-libc/source/include/ksys.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/kolibri-libc/source/include/ksys.h b/contrib/kolibri-libc/source/include/ksys.h index b39eb68378..4f3cb33d7c 100644 --- a/contrib/kolibri-libc/source/include/ksys.h +++ b/contrib/kolibri-libc/source/include/ksys.h @@ -28,7 +28,9 @@ typedef struct { unsigned char green; unsigned char red; }rgb_t; - + +typedef unsigned int ksys_color_t; + #pragma pack(push,1) typedef union{ unsigned val; @@ -119,8 +121,6 @@ typedef struct { char reserved3[1024-71]; //+71 }ksys_proc_table_t; -typedef unsigned int ksys_color_t; - typedef struct{ ksys_color_t frame_area; ksys_color_t grab_bar; @@ -786,7 +786,7 @@ int _ksys_get_thread_slot(int tid){ } static inline -int not_optimized _ksys_process_info(ksys_proc_table_t* table, int pid) +int _ksys_process_info(ksys_proc_table_t* table, int pid) { int val; asm_inline(