svn commit: r286281 - head/sys/kern

Ed Schouten ed at nuxi.nl
Tue Aug 4 09:17:18 UTC 2015


2015-08-04 10:51 GMT+02:00 Edward Tomasz Napierala <trasz at freebsd.org>:
>   Mark vgonel() as static.  It was already declared static earlier;
>   no idea why compilers don't warn about this.

That's because according to the standard, those keywords are meant to pile up:

static void foo(void);
_Noreturn void foo(void);
void foo(void) {
  ...
}

is the same as:

static _Noreturn void foo(void) {
  ...
}

-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717


More information about the svn-src-head mailing list