diff options
author | Devin Teske <dteske@FreeBSD.org> | 2014-11-05 01:57:32 +0000 |
---|---|---|
committer | Devin Teske <dteske@FreeBSD.org> | 2014-11-05 01:57:32 +0000 |
commit | 492b82715fb1001fdc260a2ad041c0b11f83ebb3 (patch) | |
tree | 605e032e6081d87e83191f37873c7f5e9b8a6a07 /lib/libdpv | |
parent | 964b46aaea475198a0af47ae5207a5c90679f291 (diff) | |
download | src-492b82715fb1001fdc260a2ad041c0b11f83ebb3.tar.gz src-492b82715fb1001fdc260a2ad041c0b11f83ebb3.zip |
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
Notes
Notes:
svn path=/head/; revision=274121
Diffstat (limited to 'lib/libdpv')
-rw-r--r-- | lib/libdpv/dialog_util.c | 2 | ||||
-rw-r--r-- | lib/libdpv/dpv.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libdpv/dialog_util.c b/lib/libdpv/dialog_util.c index 763a0d5c16b1..d047a25e5ae3 100644 --- a/lib/libdpv/dialog_util.c +++ b/lib/libdpv/dialog_util.c @@ -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; diff --git a/lib/libdpv/dpv.c b/lib/libdpv/dpv.c index 0aac082d4202..fd443608e71b 100644 --- a/lib/libdpv/dpv.c +++ b/lib/libdpv/dpv.c @@ -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 |