1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sem: rename to sema

To prevent name colisions with POSIX semaphores
This commit is contained in:
Martine Lenders 2015-10-19 16:15:37 +02:00 committed by Martine Lenders
parent ca7dcef341
commit ee4f79482a
7 changed files with 7 additions and 7 deletions

View File

@ -283,11 +283,11 @@ ifneq (,$(filter posix,$(USEMODULE)))
endif
ifneq (,$(filter posix_semaphore,$(USEMODULE)))
USEMODULE += sem
USEMODULE += sema
USEMODULE += vtimer
endif
ifneq (,$(filter sem,$(USEMODULE)))
ifneq (,$(filter sema,$(USEMODULE)))
USEMODULE += vtimer
endif

View File

@ -71,8 +71,8 @@ endif
ifneq (,$(filter netopt,$(USEMODULE)))
DIRS += net/crosslayer/netopt
endif
ifneq (,$(filter sem,$(USEMODULE)))
DIRS += sem
ifneq (,$(filter sema,$(USEMODULE)))
DIRS += sema
endif
DIRS += $(dir $(wildcard $(addsuffix /Makefile, ${USEMODULE})))

View File

@ -26,7 +26,7 @@
#include <errno.h>
#include <time.h>
#include "sem.h"
#include "sema.h"
#ifdef __cplusplus
extern "C" {

View File

@ -21,7 +21,7 @@
#include "irq.h"
#include "sched.h"
#include "sem.h"
#include "sema.h"
#include "tcb.h"
#include "timex.h"
#include "thread.h"

View File

@ -24,7 +24,7 @@
#include "msg.h"
#include "vtimer.h"
#include "sem.h"
#include "sema.h"
#define ENABLE_DEBUG (0)
#include "debug.h"