mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
29365f023a
commit
fe75b0f0e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245386
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue