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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
commit 9291cd3fa6a76e999bc8dab25e9d5dc492403571
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Oct 25 20:55:04 2009 +0100
Fix current_vcs driver load
* console-client/current-vcs.c (vcs_repeat_init): Rename function into...
(current_vcs_init): ... this.
(vcs_repeat_start): Rename function into...
(current_vcs_start): ... this.
(vcs_repeat_fini): Rename function into...
(current_vcs_fini): ... this.
diff --git a/console-client/current-vcs.c b/console-client/current-vcs.c
index a86c670..1b63e0b 100644
--- a/console-client/current-vcs.c
+++ b/console-client/current-vcs.c
@@ -167,7 +167,7 @@ static struct argp argp = {options, parse_opt, 0, doc};
/* Initialize the current VCS driver. */
static error_t
-vcs_repeat_init (void **handle, int no_exit, int argc, char *argv[], int *next)
+current_vcs_init (void **handle, int no_exit, int argc, char *argv[], int *next)
{
error_t err;
int pos = 1;
@@ -184,7 +184,7 @@ vcs_repeat_init (void **handle, int no_exit, int argc, char *argv[], int *next)
}
static error_t
-vcs_repeat_start (void *handle)
+current_vcs_start (void *handle)
{
error_t err;
@@ -206,7 +206,7 @@ vcs_repeat_start (void *handle)
}
static error_t
-vcs_repeat_fini (void *handle, int force)
+current_vcs_fini (void *handle, int force)
{
console_unregister_consnode (vcs_node);
console_destroy_consnode (vcs_node);
@@ -214,10 +214,10 @@ vcs_repeat_fini (void *handle, int force)
}
-struct driver_ops driver_vcs_repeat_ops =
+struct driver_ops driver_current_vcs_ops =
{
- vcs_repeat_init,
- vcs_repeat_start,
- vcs_repeat_fini
+ current_vcs_init,
+ current_vcs_start,
+ current_vcs_fini
};
|