mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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