Sync OpenBSD patchset 540:

Tweak a comment and add some spacing.
This commit is contained in:
Tiago Cunha 2009-11-14 17:57:41 +00:00
parent e35f5b35bd
commit a7158784f2
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $Id: cmd-generic.c,v 1.35 2009-11-14 17:56:39 tcunha Exp $ */
/* $Id: cmd-generic.c,v 1.36 2009-11-14 17:57:41 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@ -85,7 +85,7 @@ cmd_parse_flags(int opt, const char *chflagstr, uint64_t *chflags)
return (0);
}
/* Print the flags supported in chflags. */
/* Print the flags present in chflags. */
size_t
cmd_print_flags(char *buf, size_t len, size_t off, uint64_t chflags)
{

8
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.516 2009-11-14 17:56:39 tcunha Exp $ */
/* $Id: tmux.h,v 1.517 2009-11-14 17:57:41 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1161,23 +1161,29 @@ struct cmd_entry {
/* Generic command data. */
struct cmd_target_data {
uint64_t chflags;
char *target;
char *arg;
char *arg2;
};
struct cmd_srcdst_data {
uint64_t chflags;
char *src;
char *dst;
char *arg;
char *arg2;
};
struct cmd_buffer_data {
uint64_t chflags;
char *target;
int buffer;
char *arg;
char *arg2;
};