From: Simon Wilkinson Date: Fri, 4 Mar 2011 10:29:45 +0000 (+0000) Subject: Unix CM: Remove redefinition of "inline" X-Git-Tag: upstream/1.8.0_pre1^2~4101 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4b4534819209468a007a991e8f73e1c0a4ac0089;p=packages%2Fo%2Fopenafs.git Unix CM: Remove redefinition of "inline" discon.h contained a redefintion of "inline" for non-gcc compilers that's a left over from when it used "static inline", rather than "static_inline". Remove the redefinition, as it's now both uneccessary, and confusing. Change-Id: I2d173385f4c3fe4b707cf86c76984b283714ced7 Reviewed-on: http://gerrit.openafs.org/4129 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/discon.h b/src/afs/discon.h index 6138ccf3a..7f4781a67 100644 --- a/src/afs/discon.h +++ b/src/afs/discon.h @@ -1,10 +1,6 @@ #ifndef _DISCON_H #define _DISCON_H -#if !defined(inline) && !defined(__GNUC__) -#define inline -#endif - extern afs_int32 afs_is_disconnected; extern afs_int32 afs_is_discon_rw; extern afs_int32 afs_in_sync;