make nsKeycodes private

This commit is contained in:
wilfried 2003-05-27 12:21:31 +00:00
parent b7635369de
commit 87c52d98f9
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_mozilla_mozilla_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $
--- src/mozilla/mozilla.cpp.orig Mon Mar 31 06:45:38 2003
+++ src/mozilla/mozilla.cpp Tue May 27 14:14:12 2003
@@ -843,7 +843,7 @@ struct nsKeyConverter {
};
/* From mozilla/widget/src/gtk/nsGtkEventHandler.cpp */
-struct nsKeyConverter nsKeycodes[] = {
+static struct nsKeyConverter nsKeycodes[] = {
{ NS_VK_CANCEL, GDK_Cancel },
{ NS_VK_BACK, GDK_BackSpace },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-widget_src_gtk2_nsGtkKeyUtils_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $
--- widget/src/gtk2/nsGtkKeyUtils.cpp.orig Fri Nov 8 03:23:23 2002
+++ widget/src/gtk2/nsGtkKeyUtils.cpp Tue May 27 14:15:44 2003
@@ -51,7 +51,7 @@ struct nsKeyConverter {
// Netscape keycodes are defined in widget/public/nsGUIEvent.h
// GTK keycodes are defined in <gdk/gdkkeysyms.h>
//
-struct nsKeyConverter nsKeycodes[] = {
+static struct nsKeyConverter nsKeycodes[] = {
{ NS_VK_CANCEL, GDK_Cancel },
{ NS_VK_BACK, GDK_BackSpace },
{ NS_VK_TAB, GDK_Tab },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-widget_src_gtk_nsGtkEventHandler_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $
--- widget/src/gtk/nsGtkEventHandler.cpp.orig Tue Apr 22 01:01:08 2003
+++ widget/src/gtk/nsGtkEventHandler.cpp Tue May 27 14:15:18 2003
@@ -113,7 +113,7 @@ struct nsKeyConverter {
// Netscape keycodes are defined in widget/public/nsGUIEvent.h
// GTK keycodes are defined in <gdk/gdkkeysyms.h>
//
-struct nsKeyConverter nsKeycodes[] = {
+static struct nsKeyConverter nsKeycodes[] = {
{ NS_VK_CANCEL, GDK_Cancel },
{ NS_VK_BACK, GDK_BackSpace },
{ NS_VK_TAB, GDK_Tab },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-widget_src_xlib_nsKeyCode_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $
--- widget/src/xlib/nsKeyCode.cpp.orig Mon Dec 9 18:39:10 2002
+++ widget/src/xlib/nsKeyCode.cpp Tue May 27 14:19:24 2003
@@ -50,7 +50,7 @@ struct nsKeyConverter
unsigned int keysym; // XK keysym key code
};
-struct nsKeyConverter nsKeycodes[] =
+static struct nsKeyConverter nsKeycodes[] =
{
{ NS_VK_CANCEL, XK_Cancel},
{ NS_VK_BACK, XK_BackSpace},