notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afdbb7c
)
add dummy platform file
author
notaz
<notasas@gmail.com>
Mon, 5 Nov 2012 00:41:43 +0000
(
02:41
+0200)
committer
notaz
<notasas@gmail.com>
Mon, 5 Nov 2012 01:08:36 +0000
(
03:08
+0200)
plat.h
patch
|
blob
|
blame
|
history
plat_dummy.c
[new file with mode: 0644]
patch
|
blob
diff --git
a/plat.h
b/plat.h
index
139ea47
..
51be346
100644
(file)
--- a/
plat.h
+++ b/
plat.h
@@
-1,6
+1,8
@@
#ifndef LIBPICOFE_PLAT_H
#define LIBPICOFE_PLAT_H
+#include <stdlib.h>
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/plat_dummy.c
b/plat_dummy.c
new file mode 100644
(file)
index 0000000..
969826c
--- /dev/null
+++ b/
plat_dummy.c
@@ -0,0
+1,16
@@
+#include "plat.h"
+
+struct plat_target plat_target;
+
+int plat_target_init(void)
+{
+ return 0;
+}
+
+void plat_target_finish(void)
+{
+}
+
+void plat_target_setup_input(void)
+{
+}