summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-15 23:53:18 +0100
committerVolker Lendecke <vl@samba.org>2010-02-20 18:59:30 +0100
commit1f451d122e869ae7c880e6d347ff127aa9d87d72 (patch)
tree72fc7967283ea15380b48127a293ac8d2506b271 /source3/client
parentf27857e655c410559b8717ce03049b7d7be3aa1f (diff)
downloadsamba-1f451d122e869ae7c880e6d347ff127aa9d87d72.tar.gz
samba-1f451d122e869ae7c880e6d347ff127aa9d87d72.tar.bz2
samba-1f451d122e869ae7c880e6d347ff127aa9d87d72.zip
s3: Remove a "typedef struct"
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index fcc2d56f09..9245428c5e 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -4161,20 +4161,20 @@ static int process_command_string(const char *cmd_in)
#define MAX_COMPLETIONS 100
-typedef struct {
+struct completion_remote {
char *dirmask;
char **matches;
int count, samelen;
const char *text;
int len;
-} completion_remote_t;
+};
static void completion_remote_filter(const char *mnt,
file_info *f,
const char *mask,
void *state)
{
- completion_remote_t *info = (completion_remote_t *)state;
+ struct completion_remote *info = (struct completion_remote *)state;
if ((info->count < MAX_COMPLETIONS - 1) &&
(strncmp(info->text, f->name, info->len) == 0) &&
@@ -4232,7 +4232,7 @@ static char **remote_completion(const char *text, int len)
char *targetpath = NULL;
struct cli_state *targetcli = NULL;
int i;
- completion_remote_t info = { NULL, NULL, 1, 0, NULL, 0 };
+ struct completion_remote info = { NULL, NULL, 1, 0, NULL, 0 };
/* can't have non-static initialisation on Sun CC, so do it
at run time here */