mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Remove unused macros
In the order of appearance: * MAX_LISTEN - never used added by23ad665c(qemud) and addec57 (lock daemon) * NEXT_FREE_CLASS_ID - never used, added by07d1b6b* virLockError - never used, added byeb8268a4* OPENVZ_MAX_ARG, CMDBUF_LEN, CMDOP_LEN unused since the removal of ADD_ARG_LIT ind8b31306* QEMU_NB_PER_CPU_STAT_PARAM - unused since897808e* QEMU_CMD_PROMPT, QEMU_PASSWD_PROMPT - unused since1dc10a7* TEST_MODEL_WORDSIZE - unused sincec25c18f7* TEMPDIR - never used, added by714bef5* NSIG - workaround around old headers added by commit60ed1d2unused since virExec was moved by commit02e8691* DO_TEST_PARSE - never used, added by9afa006* DIFF_MSEC, GETTIMEOFDAY - unused sinceeee6eb6
This commit is contained in:
@@ -62,11 +62,6 @@
|
||||
|
||||
VIR_LOG_INIT("tests.testutils");
|
||||
|
||||
#define GETTIMEOFDAY(T) gettimeofday(T, NULL)
|
||||
#define DIFF_MSEC(T, U) \
|
||||
((((int) ((T)->tv_sec - (U)->tv_sec)) * 1000000.0 + \
|
||||
((int) ((T)->tv_usec - (U)->tv_usec))) / 1000.0)
|
||||
|
||||
#include "virfile.h"
|
||||
|
||||
static unsigned int testDebug = -1;
|
||||
|
||||
Reference in New Issue
Block a user