diff libgaim/protocols/oscar/misc.c @ 15085:f3573d941d66

[gaim-migrate @ 17871] Minor cleanup. Mostly make some functions void instead of int where the return value was always 0 and wasn't used committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 02 Dec 2006 08:03:45 +0000
parents 60b1bc8dbf37
children 12b1123f0cc9
line wrap: on
line diff
--- a/libgaim/protocols/oscar/misc.c	Sat Dec 02 03:12:57 2006 +0000
+++ b/libgaim/protocols/oscar/misc.c	Sat Dec 02 08:03:45 2006 +0000
@@ -36,7 +36,7 @@
  * back to the single.  I don't see any advantage to doing it either way.
  *
  */
-int
+void
 aim_genericreq_n(OscarData *od, FlapConnection *conn, guint16 family, guint16 subtype)
 {
 	FlapFrame *frame;
@@ -47,8 +47,6 @@
 	aim_putsnac(&frame->data, family, subtype, 0x0000, snacid);
 
 	flap_connection_send(conn, frame);
-
-	return 0;
 }
 
 void
@@ -65,7 +63,7 @@
 	flap_connection_send(conn, frame);
 }
 
-int
+void
 aim_genericreq_l(OscarData *od, FlapConnection *conn, guint16 family, guint16 subtype, guint32 *longdata)
 {
 	FlapFrame *frame;
@@ -82,11 +80,9 @@
 	byte_stream_put32(&frame->data, *longdata);
 
 	flap_connection_send(conn, frame);
-
-	return 0;
 }
 
-int
+void
 aim_genericreq_s(OscarData *od, FlapConnection *conn, guint16 family, guint16 subtype, guint16 *shortdata)
 {
 	FlapFrame *frame;
@@ -103,8 +99,6 @@
 	byte_stream_put16(&frame->data, *shortdata);
 
 	flap_connection_send(conn, frame);
-
-	return 0;
 }
 
 /*