Re: [patch] big cleanup.



On 6/20/05, Robert Love <rml novell com> wrote:
> Attached patch does a lot of simple but meaningful cleanup.
>         - Mark 55 non-static functions as static, as they are actually
>         not used outside of file and need not be exported.

> diff -u -u -r1.10 nm-netlink-monitor.c

> --- src/nm-netlink-monitor.c	19 Jun 2005 04:09:20 -0000	1.10

> +++ src/nm-netlink-monitor.c	20 Jun 2005 21:41:50 -0000

> @@ -205,7 +205,7 @@

>	return TRUE;

> }

> 

>-void

>+static void

> nm_netlink_monitor_close_connection (NmNetlinkMonitor  *monitor)

> {

> 	g_return_if_fail (monitor->priv->io_channel != NULL);


This one should probably stay exported and be added to
nm-netlink-monitor.h.  It is the opposite of
nm_netlink_monitor_open_connection which is a public function.

--Ray



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