summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/rbcompat.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-04-24 19:05:49 -0400
committerFranklin Wei <git@fwei.tk>2018-04-24 19:06:30 -0400
commit992a12670e65eab504eec2f8c4d7a120a4a6dd50 (patch)
tree523beb13e924f07fad2c9b95da26dfb6915e556d /apps/plugins/puzzles/rbcompat.h
parentb29611fe2c629d8d951d969875a57132df055bdd (diff)
downloadrockbox-992a12670e65eab504eec2f8c4d7a120a4a6dd50.tar.gz
rockbox-992a12670e65eab504eec2f8c4d7a120a4a6dd50.zip
puzzles: update frontend for new upstream, misc. changes
The upstream code changed a little bit with regard to the request_keys() API. Also, we save some bytes (especially on the c200v2) by compiling with -ffunction-sections and -fdata-sections, which allows Net to fit once again. Change-Id: I3ab30127169c73e4cd8996f0c12e1223ee18d79f
Diffstat (limited to 'apps/plugins/puzzles/rbcompat.h')
-rw-r--r--apps/plugins/puzzles/rbcompat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/rbcompat.h b/apps/plugins/puzzles/rbcompat.h
index ed1ae87653..272f97db30 100644
--- a/apps/plugins/puzzles/rbcompat.h
+++ b/apps/plugins/puzzles/rbcompat.h
@@ -4,6 +4,7 @@
4#include "plugin.h" 4#include "plugin.h"
5#include "rbassert.h" 5#include "rbassert.h"
6#include "lib/pluginlib_exit.h" 6#include "lib/pluginlib_exit.h"
7#include "lib/stdio_compat.h"
7 8
8#include <tlsf.h> 9#include <tlsf.h>
9 10
@@ -77,6 +78,4 @@ double acos_wrapper(double x);
77 78
78#define abs(x) ((x)<0?-(x):(x)) 79#define abs(x) ((x)<0?-(x):(x))
79 80
80/* work around compilation error */
81typedef void FILE;
82#endif 81#endif