From e81f651b15be15624d7184e1823bf5b623f11604 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 28 Feb 2015 20:46:37 -0500 Subject: stuff --- apps/plugin.h | 3 ++- apps/xracer/util.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/plugin.h b/apps/plugin.h index e9c790c..4eb7066 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -2,6 +2,7 @@ #define _PLUGIN_H_ #include +#include #include #include #include "gfx.h" @@ -41,7 +42,7 @@ struct plugin_api { void (*lcd_set_background)(unsigned foreground); unsigned (*lcd_get_background)(void); - void (*srand)(unsigned int seed); + void (*srand)(uint64_t seed); unsigned int (*rand)(void); void (*lcd_filltriangle)(int, int, int, int, int, int); diff --git a/apps/xracer/util.c b/apps/xracer/util.c index 8f09d67..7403c33 100644 --- a/apps/xracer/util.c +++ b/apps/xracer/util.c @@ -88,7 +88,6 @@ int camera_calc_depth(int fov) } void error_real(const char *msg, ...) { - char buf[256]; LOGF("ERROR: %s!", msg); } -- cgit v1.1