A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

Various files: make function implementations consistent with their declaration in the header file or static if they're local.


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

+13 -10
+1 -1
apps/recorder/resize.c
··· 508 508 #endif /* HAVE_UPSCALER */ 509 509 510 510 #ifndef PLUGIN 511 - void output_row_native(uint32_t row, void * row_in, struct scaler_context *ctx) 511 + static void output_row_native(uint32_t row, void * row_in, struct scaler_context *ctx) 512 512 { 513 513 int col; 514 514 int fb_width = BM_WIDTH(ctx->bm->width,FORMAT_NATIVE,0);
+2 -2
firmware/drivers/eeprom_24cxx.c
··· 40 40 memset(cached_bitfield, 0, sizeof cached_bitfield); 41 41 } 42 42 43 - int eeprom_24cxx_read_byte(unsigned int address, char *c) 43 + static int eeprom_24cxx_read_byte(unsigned int address, char *c) 44 44 { 45 45 int ret; 46 46 char byte; ··· 86 86 return 0; 87 87 } 88 88 89 - int eeprom_24cxx_write_byte(unsigned int address, char c) 89 + static int eeprom_24cxx_write_byte(unsigned int address, char c) 90 90 { 91 91 int ret; 92 92 int count = 0;
-1
firmware/export/eeprom_24cxx.h
··· 31 31 #endif 32 32 33 33 void eeprom_24cxx_init(void); 34 - int eeprom_24cxx_read_byte(unsigned int address, char *c); 35 34 int eeprom_24cxx_read(unsigned char address, void *dest, int length); 36 35 int eeprom_24cxx_write(unsigned char address, const void *src, int length); 37 36
+3 -2
firmware/target/arm/iriver/h10/fmradio_i2c-h10.c
··· 23 23 #include "cpu.h" 24 24 #include "logf.h" 25 25 #include "system.h" 26 + #include "fmradio_i2c.h" 26 27 27 28 /* cute little functions, atomic read-modify-write */ 28 29 ··· 161 162 return byte; 162 163 } 163 164 164 - int fmradio_i2c_write(int address, const unsigned char* buf, int count) 165 + int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count) 165 166 { 166 167 int i,x=0; 167 168 ··· 188 189 return x; 189 190 } 190 191 191 - int fmradio_i2c_read(int address, unsigned char* buf, int count) 192 + int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count) 192 193 { 193 194 int i,x=0; 194 195
+1
firmware/target/coldfire/iriver/ata-iriver.c
··· 25 25 #include "system.h" 26 26 #include "power.h" 27 27 #include "pcf50606.h" 28 + #include "ata-target.h" 28 29 29 30 void ata_reset(void) 30 31 {
+3 -2
firmware/target/coldfire/iriver/fmradio_i2c-iriver.c
··· 23 23 #include "cpu.h" 24 24 #include "logf.h" 25 25 #include "system.h" 26 + #include "fmradio_i2c.h" 26 27 27 28 #if (CONFIG_TUNER & TEA5767) 28 29 ··· 193 194 return byte; 194 195 } 195 196 196 - int fmradio_i2c_write(int address, const unsigned char* buf, int count) 197 + int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count) 197 198 { 198 199 int i,x=0; 199 200 ··· 220 221 return x; 221 222 } 222 223 223 - int fmradio_i2c_read(int address, unsigned char* buf, int count) 224 + int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count) 224 225 { 225 226 int i,x=0; 226 227
+3 -2
firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
··· 23 23 #include "cpu.h" 24 24 #include "logf.h" 25 25 #include "system.h" 26 + #include "fmradio_i2c.h" 26 27 27 28 #if (CONFIG_TUNER & TEA5767) 28 29 ··· 150 151 return byte; 151 152 } 152 153 153 - int fmradio_i2c_write(int address, const unsigned char* buf, int count) 154 + int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count) 154 155 { 155 156 int i,x=0; 156 157 ··· 177 178 return x; 178 179 } 179 180 180 - int fmradio_i2c_read(int address, unsigned char* buf, int count) 181 + int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count) 181 182 { 182 183 int i,x=0; 183 184