aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-01-10 15:42:23 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-01-10 15:42:23 +0000
commit389578d7a660986712eefc1785c9278d3457cd7a (patch)
tree4591603963109113adf2823a973632dfe302707f /libgo/runtime/runtime.h
parentcd3410cc7b57fe3745f0fe764f5c322e0265ea1a (diff)
downloadgcc-389578d7a660986712eefc1785c9278d3457cd7a.zip
gcc-389578d7a660986712eefc1785c9278d3457cd7a.tar.gz
gcc-389578d7a660986712eefc1785c9278d3457cd7a.tar.bz2
re PR c/82922 (Request: add -Wstrict-prototypes to -Wextra as K&R style is obsolescent)
PR c/82922 runtime, syscall: use full prototypes in C code Based on patch by Martin Sebor. Reviewed-on: https://go-review.googlesource.com/86815 From-SVN: r256437
Diffstat (limited to 'libgo/runtime/runtime.h')
-rw-r--r--libgo/runtime/runtime.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h
index 4124e9d..28d550d 100644
--- a/libgo/runtime/runtime.h
+++ b/libgo/runtime/runtime.h
@@ -473,9 +473,7 @@ extern void typedmemmove(const Type *, void *, const void *)
__asm__ (GOSYM_PREFIX "runtime.typedmemmove");
extern void setncpu(int32)
__asm__(GOSYM_PREFIX "runtime.setncpu");
-extern P** runtime_getAllP()
- __asm__ (GOSYM_PREFIX "runtime.getAllP");
-extern Sched* runtime_getsched()
+extern Sched* runtime_getsched(void)
__asm__ (GOSYM_PREFIX "runtime.getsched");
extern void setpagesize(uintptr_t)
__asm__(GOSYM_PREFIX "runtime.setpagesize");