Pessimistic memory allocation.

* Added/removed headers as necessary
* Removed 'key_event' function from keyboard
This commit is contained in:
Murilo Pereira
2011-02-06 03:44:45 -02:00
parent d1a7d6fc24
commit 75d1e5f23b
17 changed files with 81 additions and 24 deletions

View File

@@ -1,4 +1,3 @@
#include <stdio.h>
#include "display.h"
#include "keyboard.h"
@@ -104,14 +103,6 @@ void handle_card_movement(struct cursor *cursor) {
return;
}
int key_event() {
int pressed_key;
pressed_key = getchar();
return(pressed_key);
}
void handle_keyboard_event(int key) {
switch (key) {
case 'h':