aboutsummaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorNicolas Pierron <nicolas.b.pierron@gmail.com>2014-03-02 14:11:35 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-02 14:19:59 -0300
commitd9283c4927cc5f926fa796acc2568610bd9a80d6 (patch)
treeee22db97987af38c538d1bd6501a384203579949 /src/vim.h
parent2bd6d444033b5746595713f4d037de135379a23e (diff)
downloadrneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.tar.gz
rneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.tar.bz2
rneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.zip
Remove __ARGS macro. Close #205
This is a squash of all commits sent to #81. - Remove unused undef of __ARGS. - Fix mch_rename declaration. - Follow changes related to moved & extracted files. - Properly indent function declarations of getchar.h and quickfix.c.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/vim.h b/src/vim.h
index 8e70717652..a2628ade0b 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -67,14 +67,6 @@ Error: configure did not run properly.Check auto/config.log.
#include "os_unix_defs.h" /* bring lots of system header files */
-#ifndef __ARGS
-# if defined(__STDC__) || defined(__GNUC__) || defined(WIN3264)
-# define __ARGS(x) x
-# else
-# define __ARGS(x) ()
-# endif
-#endif
-
# ifdef HAVE_LOCALE_H
# include <locale.h>
# endif
@@ -1174,7 +1166,7 @@ typedef void *vim_acl_T; /* dummy to pass an ACL to a function */
* Include a prototype for mch_memmove(), it may not be in alloc.pro.
*/
#ifdef VIM_MEMMOVE
-void mch_memmove __ARGS((void *, void *, size_t));
+void mch_memmove(void *, void *, size_t);
#else
# ifndef mch_memmove
# define mch_memmove(to, from, len) memmove(to, from, len)
@@ -1194,7 +1186,7 @@ void mch_memmove __ARGS((void *, void *, size_t));
#ifdef HAVE_MEMSET
# define vim_memset(ptr, c, size) memset((ptr), (c), (size))
#else
-void *vim_memset __ARGS((void *, int, size_t));
+void *vim_memset(void *, int, size_t);
#endif
#ifdef HAVE_MEMCMP
@@ -1203,7 +1195,7 @@ void *vim_memset __ARGS((void *, int, size_t));
# ifdef HAVE_BCMP
# define vim_memcmp(p1, p2, len) bcmp((p1), (p2), (len))
# else
-int vim_memcmp __ARGS((void *, void *, size_t));
+int vim_memcmp(void *, void *, size_t);
# define VIM_MEMCMP
# endif
#endif