summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
47f07dd)
Don't assume they get zeroed. The AIX linker throws a hissy fit on
these, refusing to link the program.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
#include "fio.h"
#include "smalloc.h"
#include "fio.h"
#include "smalloc.h"
-uintptr_t page_mask;
-uintptr_t page_size;
+uintptr_t page_mask = 0;
+uintptr_t page_size = 0;
static int endian_check(void)
{
static int endian_check(void)
{
#include "fio.h"
#include "smalloc.h"
#include "fio.h"
#include "smalloc.h"
+struct timeval *fio_tv = NULL;
int fio_gtod_offload = 0;
int fio_gtod_cpu = -1;
static pthread_t gtod_thread;
int fio_gtod_offload = 0;
int fio_gtod_cpu = -1;
static pthread_t gtod_thread;
int exitall_on_terminate = 0;
int output_format = FIO_OUTPUT_NORMAL;
int exitall_on_terminate = 0;
int output_format = FIO_OUTPUT_NORMAL;
+int eta_print = FIO_ETA_AUTO;
unsigned long long mlock_size = 0;
FILE *f_out = NULL;
FILE *f_err = NULL;
unsigned long long mlock_size = 0;
FILE *f_out = NULL;
FILE *f_err = NULL;
-char *optarg;
-int optind, opterr, optopt;
+char *optarg = NULL;
+int optind = 0, opterr = 0, optopt = 0;
+
static struct getopt_private_state {
const char *optptr;
const char *last_optstring;
static struct getopt_private_state {
const char *optptr;
const char *last_optstring;