patch 7.4.1208
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
diff --git a/src/integration.c b/src/integration.c
index 3f38c55..5879a0b 100644
--- a/src/integration.c
+++ b/src/integration.c
@@ -620,8 +620,8 @@
if you want to do things differently if the editor is started standalone
or in WorkShop mode. For example, in standalone mode you may not want to
add a footer/message area or a sign gutter. */
-int
-workshop_invoked()
+ int
+workshop_invoked(void)
{
static int result = -1;
if (result == -1) {
@@ -735,7 +735,7 @@
dummy = write(sd, buf, strlen(buf));
}
-void workshop_disconnect()
+void workshop_disconnect(void)
{
/* Probably need to send some message here */