At 12:25 AM 7/16/2002, [EMAIL PROTECTED] wrote:
jwoolley    2002/07/15 22:25:44

  Modified:    poll/unix pollacc.c
  Log:
  Nuke a warning due to a function that should have been static AFAICT:

  pollacc.c:78: warning: no previous prototype for `find_poll_sock'

  --- pollacc.c 11 Jul 2002 15:32:18 -0000      1.1
  +++ pollacc.c 16 Jul 2002 05:25:44 -0000      1.2
  @@ -74,7 +74,7 @@
       return APR_SUCCESS;
   }

-APR_DECLARE(apr_pollfd_t*) find_poll_sock(apr_pollfd_t *aprset, apr_socket_t *sock)
+static apr_pollfd_t *find_poll_sock(apr_pollfd_t *aprset, apr_socket_t *sock)

Ummm... -1. You just exported a symbol without namespace protection ;-)

Bill




Reply via email to