Date: Wed, 5 Nov 2014 01:57:32 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274121 - head/lib/libdpv Message-ID: <201411050157.sA51vWWe046830@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Wed Nov 5 01:57:32 2014 New Revision: 274121 URL: https://svnweb.freebsd.org/changeset/base/274121 Log: 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 Modified: head/lib/libdpv/dialog_util.c head/lib/libdpv/dpv.c Modified: head/lib/libdpv/dialog_util.c ============================================================================== --- head/lib/libdpv/dialog_util.c Wed Nov 5 01:47:25 2014 (r274120) +++ head/lib/libdpv/dialog_util.c Wed Nov 5 01:57:32 2014 (r274121) @@ -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; Modified: head/lib/libdpv/dpv.c ============================================================================== --- head/lib/libdpv/dpv.c Wed Nov 5 01:47:25 2014 (r274120) +++ head/lib/libdpv/dpv.c Wed Nov 5 01:57:32 2014 (r274121) @@ -77,8 +77,8 @@ char *msg_pending = NULL; /* dpv_config. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411050157.sA51vWWe046830>