]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3181: /dev/poll fails to build on Solaris with GCC 4.5.0
authorIIDA Yosiaki <y-iida@secom.co.jp>
Wed, 23 Mar 2011 01:54:22 +0000 (13:54 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 23 Mar 2011 01:54:22 +0000 (13:54 +1200)
src/comm/ModDevPoll.cc

index 7cf65131a0eff10918269694e44d3ce54e3ffea8..614ac85416621af334c6e356cbc5e963f759c34b 100644 (file)
@@ -89,7 +89,7 @@ struct _devpoll_state {
  * pfds structure elements have been set) until it is full before it
  * is written out the API.
  */
-struct {
+static struct {
     struct pollfd *pfds; /**< ptr to array of struct pollfd config elements */
     int cur; /**< index of last written element of array, or -1 if none */
     int size; /**< maximum number of elements in array */