Kernel: Remove useless/duplicated comments; mark functions static
This commit is contained in:
parent
206cabc0e4
commit
9a345de2bd
6 changed files with 8 additions and 32 deletions
|
@ -69,7 +69,7 @@ ResultCode ClearEvent(Handle handle) {
|
|||
* @param name Optional name of event
|
||||
* @return Newly created Event object
|
||||
*/
|
||||
Event* CreateEvent(Handle& handle, const ResetType reset_type, const std::string& name) {
|
||||
static Event* CreateEvent(Handle& handle, const ResetType reset_type, const std::string& name) {
|
||||
Event* evt = new Event;
|
||||
|
||||
// TOOD(yuriks): Fix error reporting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue