All of lore.kernel.org
 help / color / mirror / Atom feed
* ]PATCH] syncppp: incomplete function prototype
@ 2003-07-14  4:41 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2003-07-14  4:41 UTC (permalink / raw)
  To: lkml; +Cc: torvalds, akpm, kas, paulkf


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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-14  4:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-14  4:41 ]PATCH] syncppp: incomplete function prototype Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.