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:
@@ -242,7 +242,7 @@ Cmdbuf* parsecmd(char *a, int n);
|
|||||||
void pathclose(Path*);
|
void pathclose(Path*);
|
||||||
uint64_t perfticks(void);
|
uint64_t perfticks(void);
|
||||||
void peekAtExecFaults(uintptr_t);
|
void peekAtExecFaults(uintptr_t);
|
||||||
void pexit(char*, int);
|
void pexit(char*, int) __attribute__ ((noreturn));
|
||||||
void pgrpcpy(Pgrp*, Pgrp*);
|
void pgrpcpy(Pgrp*, Pgrp*);
|
||||||
void pgrpnote(uint32_t, char*, long, int);
|
void pgrpnote(uint32_t, char*, long, int);
|
||||||
void physdump(void);
|
void physdump(void);
|
||||||
|
Reference in New Issue
Block a user