libutil: move group_line_format into the scop of its only user.

Submitted by:	Christoph Mallon <christoph.mallon gmx.de>
This commit is contained in:
Mateusz Guzik 2013-01-13 21:26:57 +00:00
parent 29365f023a
commit fe75b0f0e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245386

View file

@ -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 struct group *gr2)
char *
gr_make(const struct group *gr)
{
const char *group_line_format = "%s:%s:%ju:";
char *line;
size_t line_size;
int ndx;