[Gluster-devel] PATCH: proto-srv.c Invalid storage class.

Harshavardhana harsha at zresearch.com
Thu Nov 2 07:31:16 UTC 2006


Hi all,
   we cannot declare nested loop functions with extern or static. Please
refer
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Nested-Functions.html#Nested-Functions
   This clearly states how we should we deal with nested functions. This is
   mainly for gcc-4.x versions where it will make the build break.
   Please find the attached patch for the 'check_and_set' function in
proto-srv.c
Thanks

-- 
Harshavardhana
"Software gets slower faster as Hardware gets faster"


More information about the Gluster-devel mailing list