aboutsummaryrefslogtreecommitdiffstats
path: root/x11/cups/cups-1.4.1-usb-function-decl.patch
blob: 3953d92f86daab16308f0dc4859bcca26b2e07ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 484851e02cc5a9b702e0f226f20a0d33325d9dee Mon Sep 17 00:00:00 2001
From: Tim Waugh <twaugh@redhat.com>
Date: Mon, 14 Sep 2009 17:34:36 +0100
Subject: [PATCH] Fixed side_cb function declaration in usb-unix.c.

---
 backend/usb-unix.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/backend/usb-unix.c b/backend/usb-unix.c
index c47910d..a00f1ad 100644
--- a/backend/usb-unix.c
+++ b/backend/usb-unix.c
@@ -560,7 +560,7 @@ open_device(const char *uri,		/* I - Device URI */
  * 'side_cb()' - Handle side-channel requests...
  */
 
-static void
+static int
 side_cb(int         print_fd,		/* I - Print file */
         int         device_fd,		/* I - Device file */
         int         snmp_fd,		/* I - SNMP socket (unused) */
-- 
1.6.4.2