[PATCH 09/12] making the kernel -Wshadow clean - neighbour.h and 'proc_handler'

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

 



Fix several hundred -Wshadow warnings, caused by include/net/neighbour.h,
by renaming the 'proc_handler' argument in the neigh_sysctl_register() 
prototype to 'handler', just like it is named in net/core/neighbour.c


Signed-off-by: Jesper Juhl <[email protected]>
---

 include/net/neighbour.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.18-rc2-git7-orig/include/net/neighbour.h	2006-06-18 03:49:35.000000000 +0200
+++ linux-2.6.18-rc2-git7/include/net/neighbour.h	2006-07-30 06:37:28.000000000 +0200
@@ -276,7 +276,7 @@ extern int			neigh_sysctl_register(struc
 						      struct neigh_parms *p,
 						      int p_id, int pdev_id,
 						      char *p_name,
-						      proc_handler *proc_handler,
+						      proc_handler *handler,
 						      ctl_handler *strategy);
 extern void			neigh_sysctl_unregister(struct neigh_parms *p);
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux