Skip to content

Commit 191bb5f

Browse files
tyan0github-cygwin
andcommitted
newlib: sys/unistd.h: Change inline to __inline
Addresses: https://sourceware.org/pipermail/cygwin-patches/2025q2/013644.html Fixes: 3e8a7eb ("sys/unistd.h: fix definition of setproctitle_init") Reported-by: Brian Inglis <[email protected]> Co-authored-by: Corinna Vinschen <[email protected]> Signed-off-by: Takashi Yano <[email protected]> (cherry picked from commit 1c530c3)
1 parent 92f8661 commit 191bb5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newlib/libc/include/sys/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ int setpgrp (void);
215215
#if defined(__CYGWIN__) && __BSD_VISIBLE
216216
/* Stub for Linux libbsd compatibility. */
217217
#define initsetproctitle(c, a, e) setproctitle_init((c), (a), (e))
218-
static inline void setproctitle_init (int _c, char *_a[], char *_e[]) {}
218+
static __inline void setproctitle_init (int _c, char *_a[], char *_e[]) {}
219219

220220
void setproctitle (const char *, ...)
221221
_ATTRIBUTE ((__format__ (__printf__, 1, 2)));

0 commit comments

Comments
 (0)