]> 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, 30 Mar 2011 11:55:07 +0000 (05:55 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Mar 2011 11:55:07 +0000 (05:55 -0600)
src/comm_devpoll.cc

index 25cb3630b6fff8bb4352e6c51ea038b5e9ba8591..86e61bb27aceef830227fcbc81d6e62702ab8cf8 100644 (file)
@@ -88,7 +88,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 */