summaryrefslogtreecommitdiff
path: root/plugin/Main.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/Main.c')
-rw-r--r--plugin/Main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/Main.c b/plugin/Main.c
index 1810b43..bd9255b 100644
--- a/plugin/Main.c
+++ b/plugin/Main.c
@@ -161,7 +161,7 @@ NPP_GetValue(
}
jref
-NPP_GetJavaClass()
+NPP_GetJavaClass(void)
{
return NULL;
}
@@ -289,6 +289,7 @@ NPP_NewStream(NPP instance,
* still called but can safely be ignored using this strategy.
*/
+static
int32 STREAMBUFSIZE = 0X0FFFFFFF; /* If we are reading from a file in NPAsFile
* mode so we can take any size stream in our
* write call (since we ignore it) */
@@ -368,7 +369,7 @@ NPP_Write(NPP instance, NPStream *stream, int32 offset, int32 len, void *buf)
return len; /* The number of bytes accepted */
}
-void
+static void
StartApplication(PluginInstance* This)
{
#ifndef NO_STARTING_STATE
@@ -384,7 +385,7 @@ StartApplication(PluginInstance* This)
This->parse_reply = 1; /* we want to print out the answer */
}
-void
+static void
StartCB(Widget widget, XtPointer client_data, XtPointer call_data)
{
PluginInstance* This = (PluginInstance*) client_data;