Unix CM: Remove redefinition of "inline"
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 4 Mar 2011 10:29:45 +0000 (10:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 5 Mar 2011 12:24:39 +0000 (04:24 -0800)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/afs/discon.h

index 6138ccf..7f4781a 100644 (file)
@@ -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;