include/nuttx/sched.h: Move prototype for sched_releasetcb()

Move the prototype for the internal OS from from sched/sched/sched.h to include/nuttx/sched.h.  This was done because binfmt/binfmt/excecmodule.c requires the prototype for sched_releasetcb() and was illegally including sched/sched/sched.h.  That is a blatant violation of the OS modular design and the person that did this should be hung up by their thumbs.  Oh... I did that back in a bad moment in 2014.  Now that is made right.
This commit is contained in:
Gregory Nutt
2020-03-26 10:40:10 -06:00
committed by Alan Carvalho de Assis
parent 5c0e8e88b1
commit 44b8f3e467
7 changed files with 202 additions and 243 deletions
-1
View File
@@ -40,7 +40,6 @@ DELIM ?= $(strip /)
ifeq ($(WINTOOL),y)
INCDIROPT = -w
endif
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(TOPDIR)$(DELIM)sched"}
# Basic BINFMT source files