X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Fpanic.h;h=012eecb76c108694d90aeb87830e938132bdc6f3;hp=fbf5fa17c7c25cd2346360e953d77170c18d70d7;hb=81c11bdd80190ec319a82b0402173cfb65fcbf72;hpb=a2f94f569a4c99204de02814a20098a71527e913 diff --git a/src/panic.h b/src/panic.h index fbf5fa1..012eecb 100644 --- a/src/panic.h +++ b/src/panic.h @@ -1,6 +1,23 @@ +/* +pcboot - bootable PC demo/game kernel +Copyright (C) 2018 John Tsiombikas + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY, without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ #ifndef PANIC_H_ #define PANIC_H_ -void panic(const char *fmt, ...); +void panic(const char *fmt, ...) __attribute__((noreturn)); #endif /* PANIC_H_ */