kern: mark pexit() as noreturn
Since pexit() calls sched() it wont return to the caller. Should fix - CID 155655: Missing break in switch - CID 155672: Missing break in switch
This commit is contained in:
parent
5c8200b9da
commit
ea6f34f4f7
@ -242,7 +242,7 @@ Cmdbuf* parsecmd(char *a, int n);
|
||||
void pathclose(Path*);
|
||||
uint64_t perfticks(void);
|
||||
void peekAtExecFaults(uintptr_t);
|
||||
void pexit(char*, int);
|
||||
void pexit(char*, int) __attribute__ ((noreturn));
|
||||
void pgrpcpy(Pgrp*, Pgrp*);
|
||||
void pgrpnote(uint32_t, char*, long, int);
|
||||
void physdump(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user