summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/vim.h b/src/vim.h
index b8de4ae3e..7fea749a5 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -274,15 +274,6 @@
# include "os_unix.h" /* bring lots of system header files */
#endif
-#ifndef __ARGS
-# define __ARGS(x) x
-#endif
-
-/* __ARGS and __PARMS are the same thing. */
-#ifndef __PARMS
-# define __PARMS(x) __ARGS(x)
-#endif
-
/* Mark unused function arguments with UNUSED, so that gcc -Wunused-parameter
* can be used to check for mistakes. */
#ifdef HAVE_ATTRIBUTE_UNUSED
@@ -1641,7 +1632,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)
@@ -1660,7 +1651,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
@@ -1669,7 +1660,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