From 35a879d06dbd58f4ae8203419915d7de67e821a9 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Mon, 13 May 2013 15:23:24 +0400 Subject: Fixing a few "no previous declaration" warnings modified: storage/connect/ha_connect.cc storage/connect/odbconn.cpp storage/connect/plgdbutl.cpp storage/connect/plugutil.c storage/connect/value.cpp --- storage/connect/plugutil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'storage/connect/plugutil.c') diff --git a/storage/connect/plugutil.c b/storage/connect/plugutil.c index 693ae96cf52..2c7eaa893b6 100644 --- a/storage/connect/plugutil.c +++ b/storage/connect/plugutil.c @@ -491,9 +491,10 @@ void *MakePtr(void *memp, OFFSET offset) /***********************************************************************/ /* This routine makes an offset from a pointer new format. */ /***********************************************************************/ +#if 0 OFFSET MakeOff(void *memp, void *ptr) { return ((!ptr) ? 0 : (OFFSET)((char *)ptr - (char *)memp)); } /* end of MakeOff */ - +#endif /*--------------------- End of PLUGUTIL program -----------------------*/ -- cgit v1.2.1