diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-08-01 21:33:23 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-08-01 21:33:23 +0200 |
commit | 304adff10d5bdeeb618a6633e3b80e51aa4585c6 (patch) | |
tree | b69a62f8588e361c36b9b383418af007b119bfd9 /usermux | |
parent | 6b52d3e3a4e625d64278a58f193c6353c67f7c95 (diff) | |
download | hurd-304adff10d5bdeeb618a6633e3b80e51aa4585c6.tar.gz hurd-304adff10d5bdeeb618a6633e3b80e51aa4585c6.tar.bz2 hurd-304adff10d5bdeeb618a6633e3b80e51aa4585c6.zip |
usermux: Fix extern inline usage
C99 extern inline semantic is different from GNU semantic, so we cannot
blindly write "extern inline".
* usermux/usermux.h (USERMUX_EI): Define to __extern_inline instead of
extern inline.
Diffstat (limited to 'usermux')
-rw-r--r-- | usermux/usermux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usermux/usermux.h b/usermux/usermux.h index 2eed33c4..909f289b 100644 --- a/usermux/usermux.h +++ b/usermux/usermux.h @@ -93,7 +93,7 @@ error_t create_user_node (struct usermux *mux, struct usermux_name *name, struct passwd *pw, struct node **node); #ifndef USERMUX_EI -# define USERMUX_EI extern inline +# define USERMUX_EI __extern_inline #endif #endif /* __USERMUX_H__ */ |