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:
Giacomo Tesio 2017-04-24 09:55:45 +02:00
parent 5c8200b9da
commit ea6f34f4f7
1 changed files with 1 additions and 1 deletions

View File

@ -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);