summaryrefslogtreecommitdiff
path: root/console-client/current-vcs.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-25 20:55:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-25 20:56:25 +0100
commit80f1aefacad4e898434962acb1f1af62eb815ef8 (patch)
treebed3e9cdedbbea318096a70146f642e8362ba046 /console-client/current-vcs.c
parent11c6c3f39988035749c6c2650aa06b1c999ce237 (diff)
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.
Diffstat (limited to 'console-client/current-vcs.c')
-rw-r--r--console-client/current-vcs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/console-client/current-vcs.c b/console-client/current-vcs.c
index a86c6708..1b63e0ba 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
};