Module: wine Branch: master Commit: e92819d845db39bdc8e59069c5b6f66a3e1dd5bc URL: http://source.winehq.org/git/wine.git/?a=commit;h=e92819d845db39bdc8e59069c5...
Author: John Klehm xixsimplicityxix@gmail.com Date: Thu Oct 11 20:38:25 2007 -0500
nkobj: Use an internal header.
---
dlls/inkobj/inkobj.c | 11 +++-------- dlls/inkobj/inkobj_internal.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 8 deletions(-)
diff --git a/dlls/inkobj/inkobj.c b/dlls/inkobj/inkobj.c index d1cae73..8cddeb7 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 <stdarg.h> - -#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 0000000..6d0b359 --- /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 <stdarg.h> + +#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 */