Include headers which export functions for their matching C files so that
they don't appear to be static to the sparse checker.
Fixes sparse warnings about this.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
#include "output.h"
#include "bit.h"
#include "print.h"
+#include "crc.h"
static int crc_f(int argc, char **argv);
static void crc_help(void);
#include "print.h"
#include "write.h"
#include "malloc.h"
+#include "fuzz.h"
static int fuzz_f(int argc, char **argv);
static void fuzz_help(void);
#include "type.h"
#include "io.h"
#include "output.h"
+#include "hash.h"
static int hash_f(int argc, char **argv);
static void hash_help(void);
#include "init.h"
#include "output.h"
#include "libxlog.h"
+#include "logformat.h"
#define MAX_LSUNIT 256 * 1024 /* max log buf. size */
#include "field.h"
#include "bit.h"
#include "init.h"
-
+#include "symlink.h"
/*
* XXX: no idea how to handle multiple contiguous block symlinks here.
#include "io.h"
#include "output.h"
#include "init.h"
+#include "text.h"
static void print_rawtext(void *data, int len);
/* For endian conversion routines */
#include "xfs_arch.h"
#include "crc32defs.h"
+#include "crc32c.h"
/* types specifc to this file */
typedef __u8 u8;