diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2013-01-13 21:26:57 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2013-01-13 21:26:57 +0000 |
commit | d9ccd06f07add87bcbe09fff357cea35b18ff21a (patch) | |
tree | 9514c044945486f671a02e7a2a6d78705395c0d7 /libutil/gr_util.c | |
parent | 69591bd017359878fd2de680ec5ba2f1218e8553 (diff) | |
download | pw-darwin-d9ccd06f07add87bcbe09fff357cea35b18ff21a.tar.gz pw-darwin-d9ccd06f07add87bcbe09fff357cea35b18ff21a.tar.zst pw-darwin-d9ccd06f07add87bcbe09fff357cea35b18ff21a.zip |
libutil: move group_line_format into the scop of its only user.
Submitted by: Christoph Mallon <christoph.mallon gmx.de>
Diffstat (limited to 'libutil/gr_util.c')
-rw-r--r-- | libutil/gr_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libutil/gr_util.c b/libutil/gr_util.c index 5e35ebe..70a4c03 100644 --- a/libutil/gr_util.c +++ b/libutil/gr_util.c @@ -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; |