From d46e256b9a53bb1d19047b0f4465528bb530bad7 Mon Sep 17 00:00:00 2001 From: Massimiliano Pinto Date: Tue, 11 Jun 2013 17:08:30 +0200 Subject: [PATCH] added int parameter to close function --- core/Makefile | 2 +- include/dcb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Makefile b/core/Makefile index ddfd293b2..2ba75ed5e 100644 --- a/core/Makefile +++ b/core/Makefile @@ -15,7 +15,7 @@ # Copyright SkySQL Ab 2013 CC=cc -CFLAGS=-c -I../include +CFLAGS=-c -I/usr/include -I../include SRCS= atomic.c buffer.c spinlock.c gateway.c gateway_mysql_protocol.c gw_utils.c utils.c OBJ=$(SRCS:.c=.o) LIBS=-lssl diff --git a/include/dcb.h b/include/dcb.h index 8a5c11cbb..4e4257e77 100644 --- a/include/dcb.h +++ b/include/dcb.h @@ -55,7 +55,7 @@ typedef struct gw_protocol { int (*error)(struct dcb *, int); int (*hangup)(struct dcb *, int); int (*accept)(struct dcb *, int); - int (*close)(struct dcb *); + int (*close)(struct dcb *, int); } GWPROTOCOL; /*