945
|
1 |
--- ./sanei/sanei_tcp.c.orig 2008-02-19 14:27:47.325025000 +0800
|
|
2 |
+++ ./sanei/sanei_tcp.c 2008-02-19 14:33:03.253044000 +0800
|
|
3 |
@@ -66,7 +66,7 @@
|
|
4 |
struct hostent *h;
|
|
5 |
|
|
6 |
DBG_INIT();
|
|
7 |
- DBG(1, "%s: host = %s, port = %d\n", __FUNCTION__, host, port);
|
|
8 |
+ DBG(1, "%s: host = %s, port = %d\n", __func__, host, port);
|
|
9 |
|
|
10 |
h = gethostbyname(host);
|
|
11 |
|
|
12 |
--- ./backend/epson2_scsi.c.orig 2008-02-19 14:34:38.876220000 +0800
|
|
13 |
+++ ./backend/epson2_scsi.c 2008-02-19 14:34:59.287433000 +0800
|
|
14 |
@@ -29,7 +29,7 @@
|
|
15 |
|
|
16 |
if (result[0] && result[0] != 0x70) {
|
|
17 |
DBG(2, "%s: sense code = 0x%02x\n",
|
|
18 |
- __FUNCTION__, result[0]);
|
|
19 |
+ __func__, result[0]);
|
|
20 |
return SANE_STATUS_IO_ERROR;
|
|
21 |
} else {
|
|
22 |
return SANE_STATUS_GOOD;
|
|
23 |
--- ./backend/epson2_net.c.orig 2008-02-19 14:35:23.602446000 +0800
|
|
24 |
+++ ./backend/epson2_net.c 2008-02-19 14:36:05.061495000 +0800
|
|
25 |
@@ -43,6 +43,7 @@
|
|
26 |
|
|
27 |
#include <string.h> /* for memset and memcpy */
|
|
28 |
#include <stdio.h>
|
|
29 |
+#define __FUNCTION__ __func__
|
|
30 |
|
|
31 |
int
|
|
32 |
sanei_epson_net_read_raw(Epson_Scanner *s, unsigned char *buf, size_t wanted,
|
|
33 |
--- ./backend/hp5590_cmds.c.orig 2008-02-19 14:37:22.822378000 +0800
|
|
34 |
+++ ./backend/hp5590_cmds.c 2008-02-19 14:38:01.253479000 +0800
|
|
35 |
@@ -56,6 +56,7 @@
|
|
36 |
#include "hp5590_low.h"
|
|
37 |
#include "hp5590_cmds.h"
|
|
38 |
|
|
39 |
+#define __FUNCTION__ __func__
|
|
40 |
struct hp5590_model
|
|
41 |
{
|
|
42 |
enum hp_scanner_types scanner_type;
|
|
43 |
--- ./backend/hp5590.c.orig 2008-02-19 14:38:23.931944000 +0800
|
|
44 |
+++ ./backend/hp5590.c 2008-02-19 14:39:19.146508000 +0800
|
|
45 |
@@ -55,6 +55,7 @@
|
|
46 |
#include "hp5590_cmds.c"
|
|
47 |
#include "hp5590_low.c"
|
|
48 |
|
|
49 |
+#define __FUNCTION__ __func__
|
|
50 |
/* Debug levels */
|
|
51 |
#define DBG_err 0
|
|
52 |
#define DBG_proc 10
|