Remove the proxy's dependency on flexnbd.h

This commit is contained in:
Alex Young
2014-03-11 10:37:00 +00:00
parent f0911b5c6c
commit 5960e4d10b

View File

@@ -5,7 +5,6 @@
#include <unistd.h> #include <unistd.h>
#include "ioutil.h" #include "ioutil.h"
#include "flexnbd.h"
#include "parse.h" #include "parse.h"
#include "nbdtypes.h" #include "nbdtypes.h"
#include "self_pipe.h" #include "self_pipe.h"
@@ -21,9 +20,6 @@
#define UPSTREAM_TIMEOUT 30 * 1000 #define UPSTREAM_TIMEOUT 30 * 1000
struct proxier { struct proxier {
/* The flexnbd wrapper this proxier is attached to */
struct flexnbd* flexnbd;
/** address/port to bind to */ /** address/port to bind to */
union mysockaddr listen_on; union mysockaddr listen_on;