diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-29 23:20:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-29 23:20:40 +0100 |
commit | d99df423c559d85c17779b3685426c489554908c (patch) | |
tree | 13cc6e922816525fa597cc5b3db1c91d0be24fc2 /src/vim.h | |
parent | baaa7e9ec7398a813e21285c272fa99792642077 (diff) | |
download | vim-git-d99df423c559d85c17779b3685426c489554908c.tar.gz |
patch 7.4.1200v7.4.1200
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -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 |