blob: 4f8cc0ce2f87bba511baebbfc13df02b52d92b13 [file] [log] [blame]
Jens Axboec5c8bd52009-11-24 13:01:41 +01001#ifndef FIO_HELPERS_H
2#define FIO_HELPERS_H
3
Jens Axboe3b2e1462009-12-15 08:58:10 +01004#include "compiler/compiler.h"
5
Jens Axboec5c8bd52009-11-24 13:01:41 +01006struct in_addr;
7
8extern int __weak posix_memalign(void **ptr, size_t align, size_t size);
9extern int __weak posix_fallocate(int fd, off_t offset, off_t len);
10extern int __weak inet_aton(const char *cp, struct in_addr *inp);
Jens Axboe2afd8262009-12-14 23:08:42 +010011extern int __weak clock_gettime(clockid_t clk_id, struct timespec *ts);
Jens Axboec5c8bd52009-11-24 13:01:41 +010012
13#endif