mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Minor style(9) fixups
Delete trailing whitespace and sort headers. Leave libgeom.h's placement alone, per reasoning in r317289. MFC after: 5 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
3c3e9e1035
commit
f06b2368bf
1 changed files with 10 additions and 11 deletions
|
|
@ -29,23 +29,22 @@
|
|||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/queue.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <paths.h>
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define GCTL_TABLE 1
|
||||
#include <libgeom.h>
|
||||
|
||||
/*
|
||||
/*
|
||||
* Global pointer to a string that is used to avoid an errorneous free in
|
||||
* gctl_free.
|
||||
*/
|
||||
|
|
@ -172,7 +171,7 @@ gctl_param_add(struct gctl_req *req, const char *name, int len, void *value,
|
|||
ap->len = len;
|
||||
else if (len < 0) {
|
||||
ap->flag |= GCTL_PARAM_ASCII;
|
||||
ap->len = strlen(value) + 1;
|
||||
ap->len = strlen(value) + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue