]PATCH] syncppp: incomplete function prototype

Randy.Dunlap (randy.dunlap@verizon.net)
Sun, 13 Jul 2003 21:41:50 -0700


Hi,

This patch is to 2.6.0-test1 and fixes this warning:
syncppp.c:165: warning: function declaration isn't a prototype

by adding "void" as the function parameter list.

Please apply.

--
~Randy

patch_name: syncppp_function.patch patch_version: 2003-07-13.21:36:07 author: Randy.Dunlap <rddunlap@osdl.org> description: fix compile warning: syncppp.c:165: warning: function declaration isn't a prototype product: Linux product_versions: 2.6.0-test1 maintainer: Jan "Yenya" Kasprzak <kas@fi.muni.cz>, Paul Fulghum (paulkf@microgate.com) diffstat: = drivers/net/wan/syncppp.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naur ./drivers/net/wan/syncppp.c~org ./drivers/net/wan/syncppp.c --- ./drivers/net/wan/syncppp.c~org 2003-07-13 20:32:29.000000000 -0700 +++ ./drivers/net/wan/syncppp.c 2003-07-13 21:31:24.000000000 -0700 @@ -161,7 +161,7 @@ * then put the packet into tx_queue, and call sppp_flush_xmit() * after spinlock is released. */ -static void sppp_flush_xmit() +static void sppp_flush_xmit(void) { struct sk_buff *skb; while ((skb = skb_dequeue(&tx_queue)) != NULL) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/