From c6ee9ac0340f25d92a3c22459dedf9f3186a2591 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 27 Mar 2014 19:28:31 +0100
Subject: [PATCH] Classified tgi_imulround() as part of TGI API.
---
include/tgi.h | 5 +++++
include/tgi/tgi-kernel.h | 13 -------------
samples/tgidemo.c | 1 -
3 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/include/tgi.h b/include/tgi.h
index a43eb0cc3..51d0eaebc 100644
--- a/include/tgi.h
+++ b/include/tgi.h
@@ -275,6 +275,11 @@ unsigned __fastcall__ tgi_ioctl (unsigned char code, void* data);
* for unknown codes or values.
*/
+int __fastcall__ tgi_imulround (int rhs, int lhs);
+/* Helper function for functions using sine/cosine: Multiply two values, one
+ * being an 8.8 fixed point one, and return the rounded and scaled result.
+ */
+
/* End of tgi.h */
diff --git a/include/tgi/tgi-kernel.h b/include/tgi/tgi-kernel.h
index 8367e4453..bc5fdc3c6 100644
--- a/include/tgi/tgi-kernel.h
+++ b/include/tgi/tgi-kernel.h
@@ -67,19 +67,6 @@ extern unsigned tgi_charheight; /* Height of scaled bitmap font */
-/*****************************************************************************/
-/* Code */
-/*****************************************************************************/
-
-
-
-int __fastcall__ tgi_imulround (int rhs, int lhs);
-/* Helper function for functions using sine/cosine: Multiply two values, one
- * being an 8.8 fixed point one, and return the rounded and scaled result.
- */
-
-
-
/* End of tgi-kernel.h */
#endif
diff --git a/samples/tgidemo.c b/samples/tgidemo.c
index a7e3b10f6..a08020640 100644
--- a/samples/tgidemo.c
+++ b/samples/tgidemo.c
@@ -5,7 +5,6 @@
#include
#include
#include
-#include
--
2.39.5