[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080229.114826.61001754.davem@davemloft.net>
Date: Fri, 29 Feb 2008 11:48:26 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: allan.stephens@...driver.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 03/08 net-2.6.26] [TIPC]: Eliminate "sparse" warning in
socket code
From: "Stephens, Allan" <allan.stephens@...driver.com>
Date: Fri, 29 Feb 2008 10:40:46 -0800
> @@ -81,6 +81,12 @@ static int sockets_enabled = 0;
>
> static atomic_t tipc_queue_size = ATOMIC_INIT(0);
>
> +/*
> + * Declare public routines so "sparse" doesn't complain ...
> + */
> +
> +extern int tipc_socket_init(void);
> +extern void tipc_socket_stop(void);
>
This should belong in a header file, and you should make sure
the header gets included in all the necessary C files that
either define or invoke these functions.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists