diff options
| author | Roy Marples <roy@marples.name> | 2020-09-06 11:58:29 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-09-06 11:58:29 +0100 |
| commit | c7047b246b43453c8ecd42154b608b6f899b8b9e (patch) | |
| tree | 4c84764dc8f1d65f5c3af4bfe7b1b7ce8471a0cb /src/privsep.c | |
| parent | 1fbb7b5b9879fe2b03c1a9e7b028eaf4c0ce9d6c (diff) | |
| download | dhcpcd-c7047b246b43453c8ecd42154b608b6f899b8b9e.tar.xz | |
privsep: dropprivs can be static
Diffstat (limited to 'src/privsep.c')
| -rw-r--r-- | src/privsep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privsep.c b/src/privsep.c index 76037d91..98d57857 100644 --- a/src/privsep.c +++ b/src/privsep.c @@ -112,7 +112,7 @@ ps_init(struct dhcpcd_ctx *ctx) return 0; } -int +static int ps_dropprivs(struct dhcpcd_ctx *ctx) { struct passwd *pw = ctx->ps_user; |
