aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-01-14 00:38:28 -0500
committerMichael Reed <m.reed@mykolab.com>2015-01-14 15:07:16 -0500
commitd86ebc7afb0f80a597d1361f54e838ce4689e36c (patch)
tree3874f9594796f75e7d1a97bf35b7d591a7389c9c /src/nvim/buffer.c
parent9b4f6fbd33ebd452d472b0333accfcb34e01173b (diff)
downloadrneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.gz
rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.bz2
rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.zip
Macro cleanup: PROTO
Regarding dict_lookup() in eval.c: both definitions are the same, the only difference being the spacing between the indirection operator and the indentation level.
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 58310a22a4..6880d2c428 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -627,7 +627,7 @@ void goto_buffer(exarg_T *eap, int start, int dir, int count)
#endif
}
-#if defined(HAS_SWAP_EXISTS_ACTION) || defined(PROTO)
+#if defined(HAS_SWAP_EXISTS_ACTION)
/*
* Handle the situation of swap_exists_action being set.
* It is allowed for "old_curbuf" to be NULL or invalid.
@@ -2351,7 +2351,7 @@ int buflist_add(char_u *fname, int flags)
return 0;
}
-#if defined(BACKSLASH_IN_FILENAME) || defined(PROTO)
+#if defined(BACKSLASH_IN_FILENAME)
/*
* Adjust slashes in file names. Called after 'shellslash' was set.
*/
@@ -2752,7 +2752,7 @@ void resettitle(void)
mch_settitle(lasttitle, lasticon);
}
-# if defined(EXITFREE) || defined(PROTO)
+# if defined(EXITFREE)
void free_titles(void)
{
free(lasttitle);