Author: mjg Date: Sun Jan 13 21:26:57 2013 New Revision: 245386 URL: http://svnweb.freebsd.org/changeset/base/245386
Log: libutil: move group_line_format into the scop of its only user. Submitted by: Christoph Mallon <christoph.mallon gmx.de> Modified: head/lib/libutil/gr_util.c Modified: head/lib/libutil/gr_util.c ============================================================================== --- head/lib/libutil/gr_util.c Sun Jan 13 21:25:43 2013 (r245385) +++ head/lib/libutil/gr_util.c Sun Jan 13 21:26:57 2013 (r245386) @@ -50,8 +50,6 @@ static char group_file[PATH_MAX]; static char tempname[PATH_MAX]; static int initialized; -static const char group_line_format[] = "%s:%s:%ju:"; - /* * Initialize statics */ @@ -391,6 +389,7 @@ gr_equal(const struct group *gr1, const char * gr_make(const struct group *gr) { + const char *group_line_format = "%s:%s:%ju:"; char *line; size_t line_size; int ndx; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"