Commit 1e1a85f1 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrei Vagin

test/zdtm: rm get_smaps_bits proto from zdtmtst.h

The function is not included into the library, so having its prototype
there was a shortcut. Move it to a separate include file.
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 14a01115
......@@ -141,5 +141,4 @@ extern int tcp_init_server(int family, int *port);
extern int tcp_accept_server(int sock);
extern int tcp_init_client(int family, char *servIP, unsigned short servPort);
extern int get_smaps_bits(unsigned long where, unsigned long *flags, unsigned long *madv);
#endif /* _VIMITESU_H_ */
#ifndef ZDTM_GET_SMAPS_BITS_H_
#define ZDTM_GET_SMAPS_BITS_H_
extern int get_smaps_bits(unsigned long where, unsigned long *flags, unsigned long *madv);
#endif /* ZDTM_GET_SMAPS_BITS_H_ */
#include <sys/mman.h>
#include "zdtmtst.h"
#include "get_smaps_bits.h"
#ifndef MADV_DONTDUMP
#define MADV_DONTDUMP 16
......
......@@ -2,6 +2,7 @@
#include <unistd.h>
#include <sys/mman.h>
#include "zdtmtst.h"
#include "get_smaps_bits.h"
#define MEM_SIZE (69632)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment