Re: static inline, not inline static

2022-08-29 Thread Anders Andersson
On Mon, Aug 29, 2022 at 2:01 AM Philip Guenther wrote: > > On Sun, Aug 28, 2022 at 2:11 PM Anders Andersson wrote: >> >> On Sun, Aug 28, 2022 at 3:15 PM Jonathan Gray wrote: >> > >> > diff --git lib/libc/locale/wctoint.h lib/libc/locale/wctoint.h >> > index ea50c5ae1b6..14c7f0c466d 100644 >> > -

Re: static inline, not inline static

2022-08-28 Thread Philip Guenther
On Sun, Aug 28, 2022 at 2:11 PM Anders Andersson wrote: > On Sun, Aug 28, 2022 at 3:15 PM Jonathan Gray wrote: > > > > diff --git lib/libc/locale/wctoint.h lib/libc/locale/wctoint.h > > index ea50c5ae1b6..14c7f0c466d 100644 > > --- lib/libc/locale/wctoint.h > > +++ lib/libc/locale/wctoint.h > >

Re: static inline, not inline static

2022-08-28 Thread Anders Andersson
On Sun, Aug 28, 2022 at 3:15 PM Jonathan Gray wrote: > > diff --git lib/libc/locale/wctoint.h lib/libc/locale/wctoint.h > index ea50c5ae1b6..14c7f0c466d 100644 > --- lib/libc/locale/wctoint.h > +++ lib/libc/locale/wctoint.h > @@ -30,7 +30,7 @@ > */ > > > -inline static int > +static inline int >

static inline, not inline static

2022-08-28 Thread Jonathan Gray
diff --git lib/libc/locale/wctoint.h lib/libc/locale/wctoint.h index ea50c5ae1b6..14c7f0c466d 100644 --- lib/libc/locale/wctoint.h +++ lib/libc/locale/wctoint.h @@ -30,7 +30,7 @@ */ -inline static int +static inline int wctoint(wchar_t wc) { int n; diff --git sys/arch/amd64/include/