uboot/include
Måns Rullgård 44d0677a90 Replace "extern inline" with "static inline"
A number of headers define functions as "extern inline" which is
causing problems with gcc5.  The reason is that starting with
version 5.1, gcc defaults to the standard C99 semantics for the
inline keyword.

Under the traditional GNU inline semantics, an "extern inline"
function would never create an external definition, the same
as inline *without* extern in C99.  In C99, and "extern inline"
definition is simply an external definition with an inline hint.
In short, the meanings of inline with and without extern are
swapped between GNU and C99.

The upshot is that all these definitions in header files create
an external definition wherever those headers are included,
resulting in multiple definition errors at link time.

Changing all these functions to "static inline" fixes the problem
since this works as desired in all gcc versions.  Although the
semantics are slightly different (a static inline definition may
result in an actual function being emitted), it works as intended
in practice.

This patch also removes extern prototype declarations for the
changed functions where they existed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2015-11-09 18:19:40 -05:00
..
andestech
asm-generic include: Add generic bitops headers 2015-11-05 10:51:57 -05:00
bedbug
configs nios2: trim CONFIG_SYS_MEMTEST_END 2015-11-06 12:56:46 +08:00
cramfs
dm dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
dt-bindings am437x: Add am437x_gp_evm_defconfig using CONFIG_DM 2015-10-22 14:44:00 -04:00
faraday
fsl-mc bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
jffs2
linux compat: Remove is_power_of_2() definition 2015-11-05 16:46:59 -05:00
lzma
mtd cfi_flash: use specific width types for cword 2015-10-27 11:51:53 +01:00
net net: tftp: Move tftp.h file from ./net to ./include/net 2015-09-07 13:41:04 +02:00
pcmcia
power sandbox: add ADC unit tests 2015-11-02 10:38:00 +09:00
samsung exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4. 2015-11-02 10:38:00 +09:00
synopsys
test test: Add a macro to check that a value is not an error pointer 2015-07-21 17:39:33 -06:00
u-boot Correct License and Copyright information on few files 2015-08-12 20:47:46 -04:00
usb
zfs
.gitignore
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
aboot.h
adc.h dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
addr_map.h
aes.h
ahci.h ahci: Fix compiling warnings under 64bit platforms 2015-07-09 12:35:24 -04:00
ali512x.h
altera.h
ambapp.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
axp209.h sunxi: power: Add support for disabling axp209 regulators 2015-10-20 18:40:27 +02:00
axp221.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
axp_pmic.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
bcd.h
bios_emul.h
bitfield.h include/bitfield: Add new bitfield operations 2015-09-21 08:29:46 -07:00
bmp_layout.h Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
bootcount.h
bootm.h Combine bootm_find_<thing> functions together 2015-05-28 08:18:21 -04:00
bootretry.h
bootstage.h add boot_get_loadables() to load listed images 2015-05-28 08:18:20 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
cli_hush.h
clk.h dm: Add a clock uclass 2015-07-21 17:39:29 -06:00
cmd_spl.h
command.h pxe: add AArch64 image support 2015-07-27 15:53:48 -07:00
common.h armv8/fsl_lsch2: Add fsl_lsch2 SoC 2015-10-29 10:34:00 -07:00
common_timing_params.h
commproc.h
compiler.h
config_cmd_all.h cmd: Convert CONFIG_CMD_ELF to Kconfig 2015-10-21 07:46:25 -06:00
config_defaults.h
config_distro_bootcmd.h distro_bootcmd: Add support for booting from ubifs 2015-10-24 13:50:33 -04:00
config_distro_defaults.h cmd: Convert CONFIG_CMD_ELF to Kconfig 2015-10-21 07:46:25 -06:00
config_fallbacks.h
config_fsl_secboot.h powerpc/mpc85xx: SECURE BOOT-Copy Boot Script on RAM 2015-07-31 08:50:18 -07:00
config_phylib_all_drivers.h
config_uncmd_spl.h of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
cortina.h
cpsw.h drivers: net: cpsw: convert driver to adopt device driver model 2015-10-22 14:18:35 -04:00
cpu.h dm: cpu: Add a new get_count method to cpu uclass 2015-07-14 18:03:16 -06:00
crc.h
cros_ec.h cros_ec: Remove the old tunnel code 2015-08-05 21:06:16 -06:00
cros_ec_message.h
dataflash.h
ddr_spd.h
debug_uart.h debug_uart: Add an option to announce the debug UART 2015-10-21 07:46:50 -06:00
dfu.h dfu: tftp: update: Add dfu_write_from_mem_addr() function 2015-09-07 13:41:04 +02:00
dialog_pmic.h
display_options.h
displayport.h
div64.h
dm-demo.h
dm.h
dm9000.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h mmc: Support bypass mode with the get_mmc_clk() method 2015-09-02 21:28:23 -06:00
e500.h
ec_commands.h
edid.h
efi.h efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
efi_api.h efi: Add start-up library code 2015-08-05 08:42:41 -06:00
elf.h elf: Add a few definitions for 64-bit relocation 2015-08-05 08:42:40 -06:00
env_attr.h
env_callback.h Allow CONFIG_REGEX to be disabled when CONFIG_NET 2015-07-08 18:26:39 -04:00
env_default.h
env_flags.h common/env_flags.c: Add function to validate a MAC address 2015-09-21 08:29:47 -07:00
environment.h
errno.h
ethsw.h drivers/net/vsc9953: Add commands for VLAN ingress filtering 2015-09-21 08:29:48 -07:00
exports.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
ext4fs.h
ext_common.h
exynos_lcd.h
fat.h
fb_mmc.h
fdt.h
fdt_simplefb.h
fdt_support.h fdt: prevent clearing memory node if there are no banks 2015-07-20 07:21:47 -06:00
fdtdec.h Merge git://git.denx.de/u-boot-socfpga 2015-11-05 07:46:28 -05:00
fis.h
flash.h ARMv7M: add STM32F1 support 2015-05-28 08:18:24 -04:00
fm_eth.h net/fm: fix MDIO controller base on FMAN2 2015-10-29 10:34:00 -07:00
fpga.h
fs.h ubifs: Add generic fs support 2015-10-24 13:50:32 -04:00
fsl_csu.h armv7/ls1021a: move ns_access to common file 2015-10-29 10:33:58 -07:00
fsl_dcu_fb.h
fsl_ddr.h drivers/ddr/fsl: Adjust bstopre value 2015-08-03 12:06:38 -07:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h drivers/ddr/fsl_ddr: Make SR_IE configurable 2015-10-30 09:19:41 -07:00
fsl_ddrc_version.h
fsl_debug_server.h
fsl_devdis.h arm/ls102xa:add hwconfig setting to support disable unused devices 2015-09-01 21:49:20 -05:00
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_esdhc.h armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb 2015-10-29 10:34:01 -07:00
fsl_fman.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_ifc.h nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
fsl_immap.h
fsl_mdio.h
fsl_memac.h
fsl_pmic.h
fsl_sec.h crypto/fsl: SEC driver cleanup for 64 bit and endianness 2015-10-29 10:33:57 -07:00
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_usb.h
fsl_validate.h Pointers in ESBC header made 32 bit 2015-10-29 10:33:57 -07:00
fsl_wdog.h imx_watchdog: Add a header file for watchdog registers 2015-10-12 12:56:26 -04:00
fuse.h
g_dnl.h g_dnl: add missing declaration 2015-07-22 08:57:54 +02:00
gdsys_fpga.h
gt64120.h
hash.h autoboot.c: Add feature to stop autobooting via SHA256 encrypted password 2015-06-08 17:32:40 -04:00
hw_sha.h
hwconfig.h
i2c.h dm: i2c: Add support for multiplexed I2C buses 2015-08-05 21:06:10 -06:00
i2c_eeprom.h
i2s.h
i8042.h x86: i8042: Clean up the driver per coding convention 2015-08-26 07:54:16 -07:00
ide.h
image.h Add support for LZ4 decompression algorithm 2015-10-11 17:12:10 -04:00
imx_thermal.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h led: Return -ENODEV if the LED device cannot be found 2015-07-21 17:39:32 -06:00
libata.h
libfdt.h fdt: Add fdt_first/next_region() functions 2015-07-21 17:39:20 -06:00
libfdt_env.h
libtizen.h
linker_lists.h Fix incorrect comments in linker_lists.h 2015-07-28 10:36:23 -06:00
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
memalign.h Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
menu.h
micrel.h cgtqmx6eval: Add Ethernet support 2015-09-02 15:26:12 +02:00
mii_phy.h
miiphy.h net: mdio: Add mdio_free() and mdio_unregister() API 2015-10-29 14:05:50 -05:00
mipi_display.h
misc.h dm: implement a Miscellaneous uclass 2015-10-23 07:37:03 +08:00
mk48t59.h
mmc.h dm: mmc: Add an MMC uclass 2015-07-21 17:39:25 -06:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
mpc8260_irq.h
msc01.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h
net.h net: Increase the size of the net_boot_file_name buffer 2015-10-29 14:05:47 -05:00
netdev.h net: pch_gbe: Convert to driver model 2015-09-09 07:48:03 -06:00
ns16550.h dm: ns16550: Support CONFIG_SYS_NS16550_MEM32 with driver model 2015-06-10 19:26:55 -06:00
ns87308.h
onenand_uboot.h
os.h sandbox: Tidy up terminal restore 2015-06-04 03:34:47 -06:00
palmas.h
part.h
part_efi.h efi: Add start-up library code 2015-08-05 08:42:41 -06:00
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci.h dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
pci_gt64120.h
pci_ids.h x86: pci: Add PCI IDs for Wildcat Point 2015-10-21 07:46:27 -06:00
pci_msc01.h
pci_rom.h
pcmcia.h
phy.h
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pxa_lcd.h
radeon.h
ram.h dm: Add support for RAM drivers 2015-07-21 17:39:27 -06:00
rc4.h Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
regmap.h dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
reiserfs.h
remoteproc.h drivers: Introduce a simplified remoteproc framework 2015-10-22 14:18:38 -04:00
reset.h dm: reset: Allow reset_walk() to return 2015-07-21 17:39:31 -06:00
rtc.h rtc:ds3232/ds3231: Add support to generate 32KHz output 2015-09-01 21:37:23 -05:00
rtc_def.h
s6e63d6.h
s_record.h
samsung-usb-phy-uboot.h samsung: usb: phy: Support for DWC3 PHY 2015-06-08 15:25:44 +02:00
sandbox-adc.h sandbox: adc: Add missing header file 2015-11-05 12:58:04 +09:00
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h ahci: support LBA48 data reads for 2+TB drives 2015-06-12 16:52:32 -04:00
sdhci.h
search.h
sed156x.h
sed13806.h
serial.h serial: remove altera serial initializations 2015-10-23 07:37:03 +08:00
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h x86: superio: Add keyboard controller support to smsc_lpc47m driver 2015-08-26 07:54:12 -07:00
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
spi_flash.h sf: Add SPI NOR protection mechanism 2015-11-05 16:47:06 -05:00
spl.h dm: spl: Allow device tree/driver model in board_init_f() 2015-07-21 17:39:28 -06:00
splash.h
status_led.h allow LED initialization without STATUS_LED_BOOT 2015-10-24 13:50:02 -04:00
stdio_dev.h video: Drop DEV_EXT_VIDEO flag 2015-11-05 08:24:42 +01:00
stdlib.h
stratixII.h
sx151x.h
sym53c8xx.h
syscon.h dm: Add support for generic system controllers (syscon) 2015-07-21 17:39:24 -06:00
systemace.h
tca642x.h
tegra-kbc.h
thermal.h thermal: Fix comments 2015-07-26 12:11:33 +02:00
thor.h
ti-usb-phy-uboot.h
timer.h dm: implement a Timer uclass 2015-10-23 07:37:03 +08:00
timestamp.h
tmu.h
tpm.h dm: tpm: Remove every compilation switch for TPM driver model 2015-10-23 09:42:28 -06:00
tps6586x.h
trace.h
tsec.h armv7/ls1021a/etsec: Enable Tx Data and TxBD snooping 2015-08-03 12:06:37 -07:00
tsi108.h
tsi148.h
twl4030.h input: twl4030: Keypad scan and input 2015-08-12 20:47:36 -04:00
twl6030.h
tws.h
ubi_uboot.h
ubifs_uboot.h ubifs: Add functions for generic fs use 2015-10-24 13:50:32 -04:00
universe.h
usb.h dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h dm: usb: eth: Support driver model with USB Ethernet 2015-07-21 17:39:40 -06:00
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h video: coreboot: Save VESA mode for future use 2015-08-26 07:54:08 -07:00
version.h
video.h
video_bridge.h dm: video: Add support for video bridges 2015-08-05 21:06:13 -06:00
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h drivers/net/vsc9953: Add GPL-2.0+ SPDX-License-Identifier 2015-09-21 08:29:48 -07:00
vsprintf.h lib: Add function to extract a number from the end of a string 2015-07-21 17:39:28 -06:00
vxworks.h cmd: bootvx: Pass E820 information to an x86 VxWorks kernel 2015-10-21 07:46:26 -06:00
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h