From e92819d845db39bdc8e59069c5b6f66a3e1dd5bc Mon Sep 17 00:00:00 2001 From: John Klehm Date: Thu, 11 Oct 2007 20:38:25 -0500 Subject: [PATCH] nkobj: Use an internal header. --- dlls/inkobj/inkobj.c | 11 +++-------- dlls/inkobj/inkobj_internal.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 dlls/inkobj/inkobj_internal.h diff --git a/dlls/inkobj/inkobj.c b/dlls/inkobj/inkobj.c index d1cae736ea2..8cddeb729cd 100644 --- a/dlls/inkobj/inkobj.c +++ b/dlls/inkobj/inkobj.c @@ -15,17 +15,12 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include - -#include "windef.h" -#include "winbase.h" -#include "winerror.h" -#include "wine/debug.h" +#include "inkobj_internal.h" WINE_DEFAULT_DEBUG_CHANNEL(inkobj); -static LONG INKOBJ_refCount; -static HINSTANCE INKOBJ_hInstance; +LONG INKOBJ_refCount = 0; +HINSTANCE INKOBJ_hInstance; /***************************************************** * DllMain (INKOBJ.init) diff --git a/dlls/inkobj/inkobj_internal.h b/dlls/inkobj/inkobj_internal.h new file mode 100644 index 00000000000..6d0b3595665 --- /dev/null +++ b/dlls/inkobj/inkobj_internal.h @@ -0,0 +1,31 @@ +/* Copyright (C) 2007 C John Klehm + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef INKOBJ_INTERNAL_H +#define INKOBJ_INTERNAL_H + +#include + +#include "windef.h" +#include "winbase.h" +#include "winerror.h" + +#include "wine/debug.h" + +extern LONG INKOBJ_refCount; +extern HINSTANCE INKOBJ_hInstance; + +#endif /* INKOBJ_INTERNAL_H */