Skip to content
Snippets Groups Projects
Commit ee4f7948 authored by Martine Lenders's avatar Martine Lenders
Browse files

sem: rename to sema

To prevent name colisions with POSIX semaphores
parent ca7dcef3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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})))
......
File moved
......@@ -26,7 +26,7 @@
#include <errno.h>
#include <time.h>
#include "sem.h"
#include "sema.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -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"
......
File moved
......@@ -24,7 +24,7 @@
#include "msg.h"
#include "vtimer.h"
#include "sem.h"
#include "sema.h"
#define ENABLE_DEBUG (0)
#include "debug.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment