2003-07-14 04:28:13

by Randy.Dunlap

[permalink] [raw]
Subject: ]PATCH] syncppp: incomplete function prototype


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 <[email protected]>
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 <[email protected]>,
Paul Fulghum ([email protected])
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)