projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define the LOG_ masks by default (again)
[yaz-moved-to-github.git]
/
client
/
tabcomplete.c
diff --git
a/client/tabcomplete.c
b/client/tabcomplete.c
index
870188a
..
28faedf
100644
(file)
--- a/
client/tabcomplete.c
+++ b/
client/tabcomplete.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tabcomplete.c,v 1.15 2006-05-07 19:43:00 adam Exp $
+ * $Id: tabcomplete.c,v 1.16 2006-05-07 20:57:26 adam Exp $
*/
#include <string.h>
*/
#include <string.h>
@@
-12,15
+12,13
@@
#include <yaz/oid.h>
#include "tabcomplete.h"
#include <yaz/oid.h>
#include "tabcomplete.h"
-extern char** current_global_list;
-
/* ***************************************************************************
*
* generic completer
*
* ***************************************************************************/
/* ***************************************************************************
*
* generic completer
*
* ***************************************************************************/
-char* complete_from_list(char* completions[], const char *text, int state)
+char *complete_from_list(char* completions[], const char *text, int state)
{
#if HAVE_READLINE_READLINE_H
static int idx;
{
#if HAVE_READLINE_READLINE_H
static int idx;
@@
-142,11
+140,6
@@
char* complete_attributeset(const char* text, int state)
}
}
-char* default_completer(const char* text, int state)
-{
- return complete_from_list(current_global_list, text, state);
-}
-
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4