1
0
Fork 0
forked from len0rd/rockbox
Commit graph

7 commits

Author SHA1 Message Date
Christian Soffke
727c800c0d Don't force gcc as host compiler + fix clang warnings
On MacOS, gcc is a symlink for clang.

Patch gets rid of the warnings produced by clang,
when it is set as HOSTCC, and fixes voicetools
compilation on MacOS when calling make voicetools
from the simulator directory.

lua rb_defines_helper:
format specifies type 'int' but the argument has
type 'long'

codecs: opus / speex (LOGF):
format '%ld' expects argument of type 'long int',
but argument 7 has type 'off_t'

gigabeat:
variable 'size' set but not used

rdf2binary:
a function declaration without a prototype is
deprecated in all versions of C

rbspeexdec:
passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer
types where one is of the unique plain 'char'
type and the other is not

hmac-sha1.c
defining a type within 'offsetof' is a Clang
extension

Change-Id: I90539906698868f9589650585d865aee9f7e8539
2024-12-20 05:29:18 +01:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Miika Pekkarinen
3875b57667 fds are pointers, not ints.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11516 a1c6a512-1295-4272-9138-f99709370657
2006-11-12 02:29:52 +00:00
Tomas Salfischberger
08bccbfda7 Also replaced endian code, and packed the struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6571 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 14:23:15 +00:00
Tomas Salfischberger
6875417fe2 Changed Miika's open() and write() to fopen() and fwrite() the old way was causing some troubles with filepermissions. Please test on linux, and check if the file has normal permissions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6401 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 23:50:43 +00:00
Tomas Salfischberger
23028f579b Adapted Miika's tool to rockbox coding style *oops*
(And removed some tabs from my own last minute edits in dict.c)

Changed the place of endian conversion form the device to the convertor.
Should speed it up a little.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6397 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 16:06:05 +00:00
Tomas Salfischberger
52abc68b11 Dictionary conversion tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6395 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 15:05:07 +00:00