aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix_defs.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/os_unix_defs.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/os_unix_defs.h')
-rw-r--r--src/os_unix_defs.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/os_unix_defs.h b/src/os_unix_defs.h
index 3eb79e9a25..3aacac69a0 100644
--- a/src/os_unix_defs.h
+++ b/src/os_unix_defs.h
@@ -42,16 +42,6 @@
* Sun defines FILE on SunOS 4.x.x, Solaris has a typedef for FILE
*/
-#ifndef __ARGS
-/* The AIX VisualAge cc compiler defines __EXTENDED__ instead of __STDC__
- * because it includes pre-ansi features. */
-# if defined(__STDC__) || defined(__GNUC__) || defined(__EXTENDED__)
-# define __ARGS(x) x
-# else
-# define __ARGS(x) ()
-# endif
-#endif
-
/* always use unlink() to remove files */
# define vim_mkdir(x, y) mkdir((char *)(x), y)
# define mch_rmdir(x) rmdir((char *)(x))
@@ -135,10 +125,6 @@
# include <pwd.h>
#endif
-#ifdef __COHERENT__
-# undef __ARGS
-#endif
-
/*
* Unix system-dependent file names
*/
@@ -292,7 +278,7 @@
# ifdef HAVE_RENAME
# define mch_rename(src, dst) rename(src, dst)
# else
-int mch_rename __ARGS((const char *src, const char *dest));
+int mch_rename(const char *src, const char *dest);
# endif
# ifdef __MVS__
/* on OS390 Unix getenv() doesn't return a pointer to persistent