0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 7.4.1208

Problem:    Using old style function declarations.
Solution:   Change to new style function declarations. (script by Hirohito
            Higashi)
This commit is contained in:
Bram Moolenaar
2016-01-30 17:24:07 +01:00
parent 66f948e928
commit 68c2f638e6
18 changed files with 687 additions and 981 deletions

View File

@@ -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 */