mirror of
https://github.com/golang/go
synced 2024-11-26 16:46:58 -07:00
runtime/cgo: mark fatalf as noreturn
Fixes #64553
Change-Id: I7860cd9ba74d70a7d988538ea4df8e122f94cde6
GitHub-Last-Rev: 0616437473
GitHub-Pull-Request: golang/go#64727
Reviewed-on: https://go-review.googlesource.com/c/go/+/550115
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
db99b9b17c
commit
0286a0822b
@ -76,7 +76,7 @@ void x_cgo_getstackbound(uintptr bounds[2]);
|
||||
/*
|
||||
* Prints error then calls abort. For linux and android.
|
||||
*/
|
||||
void fatalf(const char* format, ...);
|
||||
void fatalf(const char* format, ...) __attribute__ ((noreturn));
|
||||
|
||||
/*
|
||||
* Registers the current mach thread port for EXC_BAD_ACCESS processing.
|
||||
|
Loading…
Reference in New Issue
Block a user