From da12d22250aef2ba33a2bae9433ac1459e346bcb Mon Sep 17 00:00:00 2001 From: dimitr Date: Tue, 18 Mar 2008 08:17:32 +0000 Subject: [PATCH] Fixed the build. --- src/jrd/why.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/jrd/why.cpp b/src/jrd/why.cpp index f02a41facf..45dff510ce 100644 --- a/src/jrd/why.cpp +++ b/src/jrd/why.cpp @@ -6047,13 +6047,12 @@ int API_ROUTINE fb_shutdown(unsigned int timeout) // Shutdown providers for (int n = 0; n < SUBSYSTEMS; ++n) { - typedef int API_ROUTINE shutType(unsigned int); + typedef int shutType(unsigned int); PTR entry = get_entrypoint(PROC_SHUTDOWN, n); if (entry != no_entrypoint) { // this awful cast will be gone as soon as we will have - // pure virutal functions based provider interface - typedef int API_ROUTINE shutType(int); + // pure virtual functions based provider interface if (((shutType*)entry)(timeout) != FB_SUCCESS) { rc = FB_FAILURE;