[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] calc-Build gefixt



! calc/main.c baut jetzt.

Signed-off-by: David Kolossa <dickhuuhn@xxxxxxxxxxxxxx>
---
 src/modules/c/calc/main.c |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/src/modules/c/calc/main.c b/src/modules/c/calc/main.c
index 3276729..abd77ab 100644
--- a/src/modules/c/calc/main.c
+++ b/src/modules/c/calc/main.c
@@ -33,19 +33,26 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */

-#include "types.h"
-#include "stdio.h"
-#include "lostio.h"
-#include "gui/gui.h"
-#include "gui/widgets.h"
+#include <types.h>
+#include <stdio.h>
+#include <string.h>

-#include "video/bitmap.h"
+#include <lostio.h>
+#include <syscall.h>
+#include <gui/gui.h>
+#include <gui/widgets.h>

-#define _USE_START_
-#include "init.h"
+#include <video/bitmap.h>
+
+// Compiler gibt ne Warnung für das #define hier aus.
+// Wirds noch gebraucht?
+//#define _USE_START_
+#include <init.h>

 void guicb(event_t event);

+void clear_screen(void);
+
 window_t *window = 0;

 widget_t *addition = 0;
@@ -162,6 +169,7 @@ int main(int argc, char* argv[])
         yield();
     }
     close_gui();
+    return 0;
 }

 void guicb(event_t event)
-- 
1.5.6.3