diff options
| author | Dave Chapman <dave@dchapman.com> | 2008-08-28 12:49:38 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2008-08-28 12:49:38 +0000 |
| commit | a3a54503994bb6b29180b1edcac166f2bc6ea54a (patch) | |
| tree | cb3a26387d21515655792b489f6a3b31691ea9ae /apps/misc.h | |
| parent | 1f7b22bd373904c1c8a753d4aaed8e0655b4fb5a (diff) | |
| download | rockbox-a3a54503994bb6b29180b1edcac166f2bc6ea54a.zip rockbox-a3a54503994bb6b29180b1edcac166f2bc6ea54a.tar.gz rockbox-a3a54503994bb6b29180b1edcac166f2bc6ea54a.tar.bz2 rockbox-a3a54503994bb6b29180b1edcac166f2bc6ea54a.tar.xz | |
Get checkwps compiling again: Move the definitions of BOM and BOM_SIZE to misc.c (they are not used outside misc.c, so don't need to be in the .h), plus always include misc.h in misc.c (not needed to fix checkwps, but good practice), and add unistd.h when __PCTOOL_ is defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18358 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
| -rw-r--r-- | apps/misc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/misc.h b/apps/misc.h index b5547ec..807f231 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -24,9 +24,6 @@ #include <stdbool.h> #include <inttypes.h> -#define BOM "\xef\xbb\xbf" -#define BOM_SIZE 3 - /* Format a large-range value for output, using the appropriate unit so that * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" * units) if possible, and 3 significant digits are shown. If a buffer is |