mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
cleanup: include stdarg.h where needed.
Avoid dependency on implicit inclusion of stdarg.h with libdevmapper.h.
This commit is contained in:
parent
b7741f0a83
commit
589983a257
@ -19,10 +19,6 @@
|
||||
|
||||
#include "clvmd-common.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <getopt.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "clvmd-comms.h"
|
||||
#include "clvm.h"
|
||||
#include "clvmd.h"
|
||||
@ -34,6 +30,11 @@
|
||||
#include <corosync/confdb.h>
|
||||
#endif
|
||||
|
||||
#include <pthread.h>
|
||||
#include <getopt.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <netinet/in.h>
|
||||
#include <signal.h>
|
||||
|
@ -26,6 +26,7 @@
|
||||
//#include "libmultilog.h"
|
||||
#include "dm-logging.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <syslog.h> /* FIXME Replace syslog with multilog */
|
||||
#include <stdarg.h>
|
||||
/* FIXME Missing openlog? */
|
||||
|
||||
/* First warning when snapshot is 80% full. */
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <syslog.h> /* FIXME Replace syslog with multilog */
|
||||
#include <stdarg.h>
|
||||
/* FIXME Missing openlog? */
|
||||
|
||||
/* First warning when thin is 80% full. */
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "defaults.h"
|
||||
#include <math.h> /* fabs() */
|
||||
#include <float.h> /* DBL_EPSILON */
|
||||
#include <stdarg.h>
|
||||
|
||||
#define SIZE_BUF 128
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "metadata-exported.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
int emit_to_buffer(char **buffer, size_t *size, const char *fmt, ...)
|
||||
{
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#define SECTION_B_CHAR '{'
|
||||
#define SECTION_E_CHAR '}'
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "dmlib.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
/*
|
||||
* consume characters while they match the predicate function.
|
||||
|
Loading…
Reference in New Issue
Block a user