1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/posix
Juan Carrano 6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
..
include Revert "posix/osx: fix type conflict on OSX native" 2018-04-12 17:48:27 +02:00
inet sys/posix: make posix module provide only headers. 2019-03-20 12:57:13 +01:00
pthread posix/pthread_rwlock: fix unsigned variable comparison 2018-08-21 13:58:39 +02:00
semaphore timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
sockets cppcheck: Provide consistent reason formatting for all cppcheck-suppresses 2017-10-10 10:25:20 -07:00
time sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt doc: fix posix wrapper documentation 2014-12-06 02:05:51 +01:00