diff options
author | Marijn van der Werf <marijn.vanderwerf@gmail.com> | 2016-12-01 03:51:24 +0100 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-11-30 18:51:24 -0800 |
commit | 4258e60771aa9fdabd678930eca534423bd371b8 (patch) | |
tree | ecca2ee7641abc0562f39b6c7dd907af2184e102 /include/task.h | |
parent | 831f8cd4fd94613d6b52d87df1b4903bedfaa717 (diff) |
Declare more non-static functions in header files (#111)
* Declare more non-static functions in header files
* Use `(void)` for functions without arguments.
* Move global-included data to seperate headers
* Don't import types or global in header
* Fix fieldmap imports
* Revert in-code changes
* Add missing newlines
Diffstat (limited to 'include/task.h')
-rw-r--r-- | include/task.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/task.h b/include/task.h index a536bcab5..d2b2302cf 100644 --- a/include/task.h +++ b/include/task.h @@ -15,15 +15,15 @@ struct Task extern struct Task gTasks[]; -void ResetTasks(); +void ResetTasks(void); u8 CreateTask(TaskFunc func, u8 priority); void DestroyTask(u8 taskId); -void RunTasks(); +void RunTasks(void); void TaskDummy(u8 taskId); void SetTaskFuncWithFollowupFunc(u8 taskId, TaskFunc func, TaskFunc followupFunc); void SwitchTaskToFollowupFunc(u8 taskId); bool8 FuncIsActiveTask(TaskFunc func); u8 FindTaskIdByFunc(TaskFunc func); -u8 GetTaskCount(); +u8 GetTaskCount(void); #endif // GUARD_TASK_H |