diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
commit | 50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch) | |
tree | c7881b015b220558167310345b162324c96be15a /apps/codecs/demac | |
parent | adb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff) | |
download | rockbox-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/codecs/demac')
-rw-r--r-- | apps/codecs/demac/demac.c | 1 | ||||
-rw-r--r-- | apps/codecs/demac/libdemac/parser.c | 2 | ||||
-rw-r--r-- | apps/codecs/demac/wavwrite.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/apps/codecs/demac/demac.c b/apps/codecs/demac/demac.c index 5e9893687d..3e97fff2c9 100644 --- a/apps/codecs/demac/demac.c +++ b/apps/codecs/demac/demac.c | |||
@@ -46,7 +46,6 @@ avoided by writing the decoded data one sample at a time. | |||
46 | #include <stdio.h> | 46 | #include <stdio.h> |
47 | #include <inttypes.h> | 47 | #include <inttypes.h> |
48 | #include <stdlib.h> | 48 | #include <stdlib.h> |
49 | #include <sys/types.h> | ||
50 | #include <sys/stat.h> | 49 | #include <sys/stat.h> |
51 | #include <fcntl.h> | 50 | #include <fcntl.h> |
52 | #include <unistd.h> | 51 | #include <unistd.h> |
diff --git a/apps/codecs/demac/libdemac/parser.c b/apps/codecs/demac/libdemac/parser.c index ebde36deed..2af4a292b8 100644 --- a/apps/codecs/demac/libdemac/parser.c +++ b/apps/codecs/demac/libdemac/parser.c | |||
@@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA | |||
27 | #ifndef ROCKBOX | 27 | #ifndef ROCKBOX |
28 | #include <stdio.h> | 28 | #include <stdio.h> |
29 | #include <stdlib.h> | 29 | #include <stdlib.h> |
30 | #include <sys/types.h> | 30 | #include "inttypes.h" |
31 | #include <sys/stat.h> | 31 | #include <sys/stat.h> |
32 | #include <fcntl.h> | 32 | #include <fcntl.h> |
33 | #include <unistd.h> | 33 | #include <unistd.h> |
diff --git a/apps/codecs/demac/wavwrite.c b/apps/codecs/demac/wavwrite.c index 72c7950dd4..71d2b7bb97 100644 --- a/apps/codecs/demac/wavwrite.c +++ b/apps/codecs/demac/wavwrite.c | |||
@@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA | |||
25 | #include <stdio.h> | 25 | #include <stdio.h> |
26 | #include <inttypes.h> | 26 | #include <inttypes.h> |
27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | #include <sys/types.h> | 28 | #include "inttypes.h" |
29 | #include <sys/stat.h> | 29 | #include <sys/stat.h> |
30 | #include <fcntl.h> | 30 | #include <fcntl.h> |
31 | #include <unistd.h> | 31 | #include <unistd.h> |