lkml.org 
[lkml]   [2003]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 <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/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.037 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site