mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
Make libdpv [dpv(3)] WARNS=6 clean for clang on -CURRENT.
NB: aka unbreak the build Reviewed by: shurd MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120
This commit is contained in:
parent
964b46aaea
commit
492b82715f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274121
|
@ -62,7 +62,7 @@ char *title = NULL;
|
|||
char *backtitle = NULL;
|
||||
int dheight = 0;
|
||||
int dwidth = 0;
|
||||
char *dargv[64] = { NULL };
|
||||
static char *dargv[64] = { NULL };
|
||||
|
||||
/* TTY/Screen characteristics */
|
||||
static struct winsize *maxsize = NULL;
|
||||
|
|
|
@ -77,8 +77,8 @@ char *msg_pending = NULL; /* dpv_config.msg_pending */
|
|||
char *pprompt = NULL; /* dpv_config.pprompt */
|
||||
|
||||
/* Status-Line format for when using dialog(3) */
|
||||
const char *status_format_custom = NULL;
|
||||
char status_format_default[DPV_STATUS_FORMAT_MAX];
|
||||
static const char *status_format_custom = NULL;
|
||||
static char status_format_default[DPV_STATUS_FORMAT_MAX];
|
||||
|
||||
/*
|
||||
* Takes a pointer to a dpv_config structure containing layout details and
|
||||
|
|
Loading…
Reference in a new issue