summaryrefslogtreecommitdiff
path: root/apps/plugins/frotz/frotzplugin.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
commit50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch)
treec7881b015b220558167310345b162324c96be15a /apps/plugins/frotz/frotzplugin.h
parentadb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff)
downloadrockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz
rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/frotz/frotzplugin.h')
-rw-r--r--apps/plugins/frotz/frotzplugin.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugins/frotz/frotzplugin.h b/apps/plugins/frotz/frotzplugin.h
index 8caddb470d..1a52bdb913 100644
--- a/apps/plugins/frotz/frotzplugin.h
+++ b/apps/plugins/frotz/frotzplugin.h
@@ -37,9 +37,12 @@
37/* 37/*
38 * we need functions for character io 38 * we need functions for character io
39 */ 39 */
40extern int ungetc(int c, int f); 40extern int frotz_ungetc(int c, int f);
41extern int fgetc(int f); 41#define ungetc frotz_ungetc
42extern int fputc(int c, int f); 42extern int frotz_fgetc(int f);
43#define fgetc frotz_fgetc
44extern int frotz_fputc(int c, int f);
45#define fputc frotz_fputc
43 46
44/* 47/*
45 * this is used instead of os_read_key for more prompts and the like 48 * this is used instead of os_read_key for more prompts and the like