zephyr/include
Robert Lubos 7fcd32b005 net: sockets: Fix gethostname socket.h/unistd.h clash
This commit fixes an issue observed with SimpleLink sockets with
multiple definitions of `gethostname` function. So far, the definition
within `socket.h` was not visible when offloading was enabled.

As this is no longer the case, and SimpleLink partially uses POSIX
subsystem, builds for this platform resulted in compilation error.

The issue was fixed by moving `gethostname` declaration in unistd.h
inside the `#ifdef CONFIG_POSIX_API` block.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-01-31 11:36:02 -05:00
..
app_memory kernel: fix k_mem_partition data types 2019-12-12 14:48:42 -08:00
arch soc: ti_simplelink: kconfig: Refactor CCFG flash block handling 2020-01-29 09:41:46 -06:00
audio include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
bluetooth Bluetooth: Move Mesh CCM into a separate module 2020-01-30 12:41:45 +02:00
canbus canbus: canopen: add LED indicator support 2020-01-20 17:17:23 +01:00
cmsis_rtos_v1
cmsis_rtos_v2 global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
console console: Remove deprecated function console_register_line_input 2019-09-18 19:14:25 -05:00
crypto crypto: api: New capability flag CAP_NO_IV_PREFIX 2020-01-16 18:34:20 +01:00
data treewide: avoid address-of-compound-literal idiom in headers 2019-12-18 21:53:17 +01:00
debug object tracing: Fix the issue that objects lost from trace list 2019-11-14 09:13:56 -05:00
dfu include: dfu: Add extern "C" in mcuboot.h 2020-01-15 12:18:59 -06:00
disk sdhc: rename disk_access_sdhc.c 2019-07-10 11:58:15 -05:00
display subsys/cfb: improve font structure packing 2019-07-31 05:43:50 -04:00
drivers drivers: uart: Switch timeout values to s32_t in UART async API 2020-01-29 19:37:31 +01:00
dt-bindings dts: bindings: dma add support for controller 2020-01-28 12:58:44 -06:00
fs fs: remove NFFS subsystem 2020-01-21 15:32:47 +01:00
linker x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
logging logging: Added explicit casts of buffer in hexdump delegates 2020-01-28 17:20:15 -05:00
mgmt
net net: sockets: Remove socket offloading interface 2020-01-31 11:36:02 -05:00
posix net: sockets: Fix gethostname socket.h/unistd.h clash 2020-01-31 11:36:02 -05:00
power power: add system power management direct force mode. 2020-01-24 21:37:40 -05:00
random subsys/random: Add cryptographically secure and bulk fill functions 2019-11-05 19:36:42 +01:00
settings doc/subsys/settings: improve settings API doc 2020-01-31 07:45:52 -05:00
shell shell: Remove deprecated macros 2020-01-09 14:38:49 -05:00
stats cleanup: include/: move stats.h to stats/stats.h 2019-06-27 22:55:49 -04:00
storage doc: fix flash_area_get_sectors doc 2019-10-25 16:40:12 -05:00
sys net: sockets: Extend ioctl poll protocol with offloading feature 2020-01-31 11:36:02 -05:00
toolchain toolchain: xcc: use Clang if exists 2020-01-07 17:09:38 +01:00
usb usb: make usb descriptor power options configurable 2019-12-20 19:46:16 -05:00
zephyr include: Remove compat include headers 2019-12-10 08:39:37 -05:00
cache.h
device.h kernel: device: Add const qualifier to device_config 2020-01-22 06:32:36 -06:00
devicetree.h dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf} 2020-01-17 17:57:59 +01:00
exc_handle.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
fatal.h doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
generated_dts_board.h dts: Add include/generated_dts_board.h for backwards compatibility 2020-01-17 17:57:59 +01:00
init.h kernel: move test of kernel startup state to more visible location 2020-01-06 13:55:31 -05:00
irq_nextlevel.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
irq_offload.h kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
irq.h irq: add note about irq_lock/unlock access 2020-01-08 08:20:48 -05:00
kernel_includes.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
kernel_structs.h kernel/sched: Address thread abort termination delay issue on SMP 2020-01-21 14:47:52 -08:00
kernel_version.h
kernel.h kernel: queue: runtime error handling 2020-01-20 17:19:54 -05:00
ptp_clock.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
sched_priq.h cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
shared_irq.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
spinlock.h kernel: show what spinlock was used incorrectly 2020-01-13 10:17:16 -05:00
sw_isr_table.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys_clock.h sys_clock: Fix typo in SYS_CLOCK_HW_CYCLES_TO_NS64() macro 2019-12-17 13:06:55 -05:00
syscall_handler.h kernel: fix 64-bit issues in syscall_handler.h 2019-12-12 14:48:42 -08:00
syscall.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
timeout_q.h kernel: include: Fix warning when !CONFIG_SYS_CLOCK_EXISTS 2019-11-07 08:22:59 -05:00
toolchain.h toolchain: Fix for off-tree toolchains 2019-10-08 17:09:23 -04:00
wait_q.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
zephyr.h