summaryrefslogtreecommitdiff
path: root/src/integration.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-30 17:24:07 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-30 17:24:07 +0100
commit68c2f638e65d914dc6e84eb7ce2624f08af525c0 (patch)
tree051b6b7500c6ac80c45cdeff26296c5b7acb88ff /src/integration.c
parent66f948e928d5e0cd3123af902aa8ac1613534c94 (diff)
downloadvim-git-68c2f638e65d914dc6e84eb7ce2624f08af525c0.tar.gz
patch 7.4.1208v7.4.1208
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
Diffstat (limited to 'src/integration.c')
-rw-r--r--src/integration.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/integration.c b/src/integration.c
index 3f38c55e5..5879a0b22 100644
--- a/src/integration.c
+++ b/src/integration.c
@@ -620,8 +620,8 @@ adjust_sign_name(char *filename)
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 @@ void workshop_connect(XtAppContext context)
dummy = write(sd, buf, strlen(buf));
}
-void workshop_disconnect()
+void workshop_disconnect(void)
{
/* Probably need to send some message here */