Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657

+18 -22
+1 -1
apps/codecs/libmusepack/mpc_types.h
··· 38 38 #endif 39 39 40 40 #include <stdlib.h> 41 - #include <memory.h> 41 + #include <inttypes.h> 42 42 43 43 #ifdef __cplusplus 44 44 extern "C" {
+1 -1
apps/codecs/libspeex/config-speex.h
··· 74 74 /* #undef HAVE_LIBWINMM */ 75 75 76 76 /* Define to 1 if you have the <memory.h> header file. */ 77 - #define HAVE_MEMORY_H 1 77 + /* #define HAVE_MEMORY_H 1 */ 78 78 79 79 /* Define to 1 if you have the <stdint.h> header file. */ 80 80 #define HAVE_STDINT_H 1
+1 -2
firmware/common/memset16.c
··· 19 19 * 20 20 ****************************************************************************/ 21 21 22 - #include <string.h> 23 - #include "memory.h" 22 + #include "string-extra.h" /* memset16() */ 24 23 25 24 #define LBLOCKSIZE (sizeof(long)/2) 26 25 #define UNALIGNED(X) ((long)X & (sizeof(long) - 1))
+1 -2
firmware/drivers/lcd-16bit-vert.c
··· 27 27 #include "lcd.h" 28 28 #include "kernel.h" 29 29 #include "thread.h" 30 - #include <string.h> 31 30 #include <stdlib.h> 32 - #include "memory.h" 31 + #include "string-extra.h" /* mem*() */ 33 32 #include "file.h" 34 33 #include "debug.h" 35 34 #include "system.h"
+1 -2
firmware/drivers/lcd-16bit.c
··· 26 26 #include "lcd.h" 27 27 #include "kernel.h" 28 28 #include "thread.h" 29 - #include <string.h> 30 29 #include <stdlib.h> 31 - #include "memory.h" 30 + #include "string-extra.h" /* mem*() */ 32 31 #include "file.h" 33 32 #include "debug.h" 34 33 #include "system.h"
+1 -2
firmware/drivers/lcd-2bit-vi.c
··· 26 26 #include "lcd.h" 27 27 #include "kernel.h" 28 28 #include "thread.h" 29 - #include <string.h> 30 29 #include <stdlib.h> 31 - #include "memory.h" 30 + #include "string-extra.h" /* mem*() */ 32 31 #include "file.h" 33 32 #include "debug.h" 34 33 #include "system.h"
+5 -6
firmware/include/memory.h firmware/include/memset16.h
··· 19 19 * 20 20 ****************************************************************************/ 21 21 22 - #ifndef _MEMORY_H_ 23 - #define _MEMORY_H_ 22 + #ifndef __MEMSET16_H__ 23 + #define __MEMSET16_H__ 24 24 25 - #include "inttypes.h" 25 + #include <string.h> /* size_t */ 26 + extern void memset16(void *dst, int val, size_t len); 26 27 27 - void memset16(void *dst, int val, size_t len); 28 - 29 - #endif /* _MEMORY_H_ */ 28 + #endif /* __MEMSET16_H__ */
+1
firmware/include/string-extra.h
··· 26 26 #include "strcasecmp.h" 27 27 #include "strcasestr.h" 28 28 #include "strtok_r.h" 29 + #include "memset16.h"
+1 -1
firmware/target/arm/tms320dm320/creative-zvm/lcd-creativezvm.c
··· 25 25 #include "kernel.h" 26 26 #include "lcd.h" 27 27 #include "system.h" 28 - #include "memory.h" 28 + #include "string-extra.h" /* memset16() */ 29 29 #include "cpu.h" 30 30 #include "spi.h" 31 31 #include "spi-target.h"
+1 -1
firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c
··· 27 27 #include "cpu.h" 28 28 #include "string.h" 29 29 #include "kernel.h" 30 - #include "memory.h" 30 + #include "string-extra.h" /* memset16() */ 31 31 #include "mmu-arm.h" 32 32 #include "system-target.h" 33 33 #include "lcd.h"
+1 -1
firmware/target/hosted/sdl/kernel-sdl.c
··· 23 23 #include <stdio.h> 24 24 #include <SDL.h> 25 25 #include <SDL_thread.h> 26 - #include "memory.h" 26 + #include <inttypes.h> 27 27 #include "system-sdl.h" 28 28 #include "thread-sdl.h" 29 29 #include "kernel.h"
+2 -2
flash/extract/extract.c
··· 23 23 24 24 #include <stdio.h> 25 25 #include <stdlib.h> 26 - #include <memory.h> 26 + #include <inttypes.h> 27 27 28 28 #define UINT8 unsigned char 29 29 #define UINT16 unsigned short ··· 144 144 fclose(pOutFile); 145 145 146 146 return 0; 147 - } 147 + }
+1 -1
flash/make_firmware/make_firmware.c
··· 25 25 26 26 #include <stdio.h> 27 27 #include <stdlib.h> 28 - #include <memory.h> 28 + #include <inttypes.h> 29 29 #include <string.h> 30 30 31 31 #define UINT8 unsigned char