diff options
-rw-r--r-- | apps/codecs.c | 1 | ||||
-rw-r--r-- | apps/gui/list.c | 1 | ||||
-rw-r--r-- | apps/menus/recording_menu.c | 1 | ||||
-rw-r--r-- | apps/tagtree.c | 1 | ||||
-rw-r--r-- | apps/tree.h | 1 | ||||
-rw-r--r-- | firmware/export/i2c-pp.h | 1 | ||||
-rw-r--r-- | firmware/export/tuner.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/ata-pp5002.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/ata-pp5020.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/ata-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/i2c-pp.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/button-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/usb-target.h | 2 | ||||
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/system-target.h | 4 | ||||
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/system-target.h | 2 |
17 files changed, 3 insertions, 20 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index 565adcf203..c86aeda422 100644 --- a/apps/codecs.c +++ b/apps/codecs.c | |||
@@ -69,7 +69,6 @@ void *sim_codec_load_ram(char* codecptr, int size, void **pd); | |||
69 | void sim_codec_close(void *pd); | 69 | void sim_codec_close(void *pd); |
70 | #else | 70 | #else |
71 | #define sim_codec_close(x) | 71 | #define sim_codec_close(x) |
72 | extern unsigned char codecbuf[]; | ||
73 | #endif | 72 | #endif |
74 | 73 | ||
75 | size_t codec_size; | 74 | size_t codec_size; |
diff --git a/apps/gui/list.c b/apps/gui/list.c index 732529f416..9d82d88c81 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -572,7 +572,6 @@ void gui_synclist_speak_item(struct gui_synclist * lists) | |||
572 | else _gui_synclist_speak_item(lists, false); | 572 | else _gui_synclist_speak_item(lists, false); |
573 | } | 573 | } |
574 | 574 | ||
575 | extern intptr_t get_action_data(void); | ||
576 | #if defined(HAVE_TOUCHSCREEN) | 575 | #if defined(HAVE_TOUCHSCREEN) |
577 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ | 576 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ |
578 | unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list); | 577 | unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list); |
diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c index ea551bedac..7805e8602c 100644 --- a/apps/menus/recording_menu.c +++ b/apps/menus/recording_menu.c | |||
@@ -612,7 +612,6 @@ MENUITEM_FUNCTION(rectrigger_item, 0, ID2P(LANG_RECORD_TRIGGER), | |||
612 | rectrigger, NULL, NULL, Icon_Menu_setting); | 612 | rectrigger, NULL, NULL, Icon_Menu_setting); |
613 | 613 | ||
614 | static struct browse_folder_info rec_config_browse = {RECPRESETS_DIR, SHOW_CFG}; | 614 | static struct browse_folder_info rec_config_browse = {RECPRESETS_DIR, SHOW_CFG}; |
615 | int browse_folder(void *param); | ||
616 | MENUITEM_FUNCTION(browse_recconfigs, MENU_FUNC_USEPARAM, ID2P(LANG_CUSTOM_CFG), | 615 | MENUITEM_FUNCTION(browse_recconfigs, MENU_FUNC_USEPARAM, ID2P(LANG_CUSTOM_CFG), |
617 | browse_folder, (void*)&rec_config_browse, NULL, Icon_Config); | 616 | browse_folder, (void*)&rec_config_browse, NULL, Icon_Config); |
618 | static int write_settings_file(void) | 617 | static int write_settings_file(void) |
diff --git a/apps/tagtree.c b/apps/tagtree.c index 0a1cce0247..13b5d83cb2 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c | |||
@@ -158,7 +158,6 @@ static int root_menu; | |||
158 | static int current_offset; | 158 | static int current_offset; |
159 | static int current_entry_count; | 159 | static int current_entry_count; |
160 | 160 | ||
161 | static int format_count; | ||
162 | static struct tree_context *tc; | 161 | static struct tree_context *tc; |
163 | 162 | ||
164 | static int get_token_str(char *buf, int size) | 163 | static int get_token_str(char *buf, int size) |
diff --git a/apps/tree.h b/apps/tree.h index a4f36d96fa..2d50387034 100644 --- a/apps/tree.h +++ b/apps/tree.h | |||
@@ -89,5 +89,4 @@ bool bookmark_play(char* resume_file, int index, int offset, int seed, | |||
89 | char *filename); | 89 | char *filename); |
90 | 90 | ||
91 | extern struct gui_synclist tree_lists; | 91 | extern struct gui_synclist tree_lists; |
92 | extern struct gui_syncstatusbar statusbars; | ||
93 | #endif | 92 | #endif |
diff --git a/firmware/export/i2c-pp.h b/firmware/export/i2c-pp.h index 230b6bbdc9..55e84b65a4 100644 --- a/firmware/export/i2c-pp.h +++ b/firmware/export/i2c-pp.h | |||
@@ -52,7 +52,6 @@ | |||
52 | void i2c_lock(void); | 52 | void i2c_lock(void); |
53 | void i2c_unlock(void); | 53 | void i2c_unlock(void); |
54 | 54 | ||
55 | void i2c_init(void); | ||
56 | int i2c_readbyte(unsigned int dev_addr, int addr); | 55 | int i2c_readbyte(unsigned int dev_addr, int addr); |
57 | int pp_i2c_send(unsigned int addr, int data0, int data1); | 56 | int pp_i2c_send(unsigned int addr, int data0, int data1); |
58 | int i2c_readbytes(unsigned int dev_addr, int addr, int len, unsigned char *data); | 57 | int i2c_readbytes(unsigned int dev_addr, int addr, int len, unsigned char *data); |
diff --git a/firmware/export/tuner.h b/firmware/export/tuner.h index 8f1839a7bb..6d6a690d77 100644 --- a/firmware/export/tuner.h +++ b/firmware/export/tuner.h | |||
@@ -133,7 +133,6 @@ enum | |||
133 | /** **/ | 133 | /** **/ |
134 | 134 | ||
135 | void tuner_init(void); | 135 | void tuner_init(void); |
136 | bool tuner_power(bool power); | ||
137 | 136 | ||
138 | #endif /* #if CONFIG_TUNER */ | 137 | #endif /* #if CONFIG_TUNER */ |
139 | 138 | ||
diff --git a/firmware/target/arm/ata-pp5002.c b/firmware/target/arm/ata-pp5002.c index 0f4d955c63..2c4bb3b3bc 100644 --- a/firmware/target/arm/ata-pp5002.c +++ b/firmware/target/arm/ata-pp5002.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <stdbool.h> | 24 | #include <stdbool.h> |
25 | #include "system.h" | 25 | #include "system.h" |
26 | #include "ata.h" | ||
26 | #include "ata-target.h" | 27 | #include "ata-target.h" |
27 | 28 | ||
28 | void ata_reset() | 29 | void ata_reset() |
diff --git a/firmware/target/arm/ata-pp5020.c b/firmware/target/arm/ata-pp5020.c index 1f066900df..ee770b4c5b 100644 --- a/firmware/target/arm/ata-pp5020.c +++ b/firmware/target/arm/ata-pp5020.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <stdbool.h> | 24 | #include <stdbool.h> |
25 | #include "system.h" | 25 | #include "system.h" |
26 | #include "ata.h" | ||
26 | #include "ata-target.h" | 27 | #include "ata-target.h" |
27 | 28 | ||
28 | void ata_reset() | 29 | void ata_reset() |
diff --git a/firmware/target/arm/ata-target.h b/firmware/target/arm/ata-target.h index c03d527372..0881aaef35 100644 --- a/firmware/target/arm/ata-target.h +++ b/firmware/target/arm/ata-target.h | |||
@@ -79,6 +79,5 @@ void copy_write_sectors(const unsigned char* buf, int wordcount); | |||
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | void ata_reset(void); | 81 | void ata_reset(void); |
82 | void ata_enable(bool on); | ||
83 | bool ata_is_coldstart(void); | 82 | bool ata_is_coldstart(void); |
84 | void ata_device_init(void); | 83 | void ata_device_init(void); |
diff --git a/firmware/target/arm/i2c-pp.c b/firmware/target/arm/i2c-pp.c index 44713407df..fef2082e60 100644 --- a/firmware/target/arm/i2c-pp.c +++ b/firmware/target/arm/i2c-pp.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "thread.h" | 31 | #include "thread.h" |
32 | #include "logf.h" | 32 | #include "logf.h" |
33 | #include "system.h" | 33 | #include "system.h" |
34 | #include "i2c.h" | ||
34 | #include "i2c-pp.h" | 35 | #include "i2c-pp.h" |
35 | #include "ascodec.h" | 36 | #include "ascodec.h" |
36 | #include "as3514.h" | 37 | #include "as3514.h" |
diff --git a/firmware/target/arm/imx31/gigabeat-s/button-target.h b/firmware/target/arm/imx31/gigabeat-s/button-target.h index d970e9983c..940ebac2f2 100644 --- a/firmware/target/arm/imx31/gigabeat-s/button-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/button-target.h | |||
@@ -36,7 +36,6 @@ void button_close_device(void); | |||
36 | int button_read_device(void); | 36 | int button_read_device(void); |
37 | void button_power_event(void); | 37 | void button_power_event(void); |
38 | void headphone_detect_event(void); | 38 | void headphone_detect_event(void); |
39 | bool headphones_inserted(void); | ||
40 | void headphone_init(void); | 39 | void headphone_init(void); |
41 | void button_headphone_set(int button); | 40 | void button_headphone_set(int button); |
42 | 41 | ||
diff --git a/firmware/target/arm/imx31/gigabeat-s/usb-target.h b/firmware/target/arm/imx31/gigabeat-s/usb-target.h index 1f96a9a7eb..c93400ca0b 100644 --- a/firmware/target/arm/imx31/gigabeat-s/usb-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/usb-target.h | |||
@@ -27,9 +27,7 @@ | |||
27 | 27 | ||
28 | void usb_connect_event(void); | 28 | void usb_connect_event(void); |
29 | void usb_init_device(void); | 29 | void usb_init_device(void); |
30 | int usb_detect(void); | ||
31 | /* Read the immediate state of the cable from the PMIC */ | 30 | /* Read the immediate state of the cable from the PMIC */ |
32 | bool usb_plugged(void); | 31 | bool usb_plugged(void); |
33 | void usb_enable(bool on); | ||
34 | 32 | ||
35 | #endif /* USB_TARGET */ | 33 | #endif /* USB_TARGET */ |
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h index 637d63b955..aba5f55a46 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h +++ b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h | |||
@@ -22,6 +22,5 @@ | |||
22 | #define USB_TARGET_H | 22 | #define USB_TARGET_H |
23 | 23 | ||
24 | void usb_init_device(void); | 24 | void usb_init_device(void); |
25 | void usb_enable(bool on); | ||
26 | 25 | ||
27 | #endif | 26 | #endif |
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index 7a320055b0..b4952d6cf2 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -32,8 +32,6 @@ | |||
32 | extern void TIMER1(void); | 32 | extern void TIMER1(void); |
33 | extern void TIMER2(void); | 33 | extern void TIMER2(void); |
34 | extern void SERIAL0(void); | 34 | extern void SERIAL0(void); |
35 | extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */ | ||
36 | extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */ | ||
37 | 35 | ||
38 | #if defined(HAVE_ADJUSTABLE_CPU_FREQ) && (NUM_CORES > 1) | 36 | #if defined(HAVE_ADJUSTABLE_CPU_FREQ) && (NUM_CORES > 1) |
39 | static struct corelock cpufreq_cl SHAREDBSS_ATTR; | 37 | static struct corelock cpufreq_cl SHAREDBSS_ATTR; |
diff --git a/firmware/target/arm/system-target.h b/firmware/target/arm/system-target.h index 60844e0b5f..764cd18d15 100644 --- a/firmware/target/arm/system-target.h +++ b/firmware/target/arm/system-target.h | |||
@@ -48,10 +48,6 @@ | |||
48 | #define inw(a) (*(volatile unsigned short *) (a)) | 48 | #define inw(a) (*(volatile unsigned short *) (a)) |
49 | #define outw(a,b) (*(volatile unsigned short *) (b) = (a)) | 49 | #define outw(a,b) (*(volatile unsigned short *) (b) = (a)) |
50 | 50 | ||
51 | #if defined(HAVE_ADJUSTABLE_CPU_FREQ) && NUM_CORES > 1 | ||
52 | extern struct spinlock boostctrl_spin; | ||
53 | #endif | ||
54 | |||
55 | static inline void udelay(unsigned usecs) | 51 | static inline void udelay(unsigned usecs) |
56 | { | 52 | { |
57 | unsigned stop = USEC_TIMER + usecs; | 53 | unsigned stop = USEC_TIMER + usecs; |
diff --git a/firmware/target/mips/ingenic_jz47xx/system-target.h b/firmware/target/mips/ingenic_jz47xx/system-target.h index df9b103309..08c3aeddb6 100644 --- a/firmware/target/mips/ingenic_jz47xx/system-target.h +++ b/firmware/target/mips/ingenic_jz47xx/system-target.h | |||
@@ -83,8 +83,6 @@ static inline void restore_interrupt(int status) | |||
83 | void system_enable_irq(unsigned int irq); | 83 | void system_enable_irq(unsigned int irq); |
84 | void udelay(unsigned int usec); | 84 | void udelay(unsigned int usec); |
85 | void mdelay(unsigned int msec); | 85 | void mdelay(unsigned int msec); |
86 | void power_off(void); | ||
87 | void system_reboot(void); | ||
88 | void dma_enable(void); | 86 | void dma_enable(void); |
89 | void dma_disable(void); | 87 | void dma_disable(void); |
90 | 88 | ||