PATCH: proto-srv.c Invalid storage class.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux