Files
scoutfs/utils/src/main.c
Andy Grover d48b447e75 Do not set -Wpadded except for checking kmod-shared headers
Remove now-unneeded manual padding in arg structs.

Signed-off-by: Andy Grover <agrover@versity.com>
2021-01-12 16:29:42 -08:00

29 lines
502 B
C

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
#include <argp.h>
#include "cmd.h"
#include "util.h"
/*
* Ensure no compiler-added padding sneaks into structs defined in these
* headers.
*/
#pragma GCC diagnostic error "-Wpadded"
#include "format.h"
#include "ioctl.h"
#pragma GCC diagnostic pop
int main(int argc, char **argv)
{
/*
* XXX parse global options, env, configs, etc.
*/
return cmd_execute(argc, argv);
}