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/proto.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/proto.h')
| -rw-r--r-- | src/proto.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/proto.h b/src/proto.h index 7a48dc973..63e1249ba 100644 --- a/src/proto.h +++ b/src/proto.h @@ -55,7 +55,7 @@ # include "winclip.pro" # if (defined(__GNUC__) && !defined(__MINGW32__)) \ || (defined(__BORLANDC__) && __BORLANDC__ < 0x502) -extern int _stricoll __ARGS((char *a, char *b)); +extern int _stricoll(char *a, char *b); # endif # endif # ifdef VMS @@ -111,25 +111,25 @@ int # ifdef __BORLANDC__ _RTLENTRYF # endif -smsg __ARGS((char_u *, ...)); +smsg(char_u *, ...); int # ifdef __BORLANDC__ _RTLENTRYF # endif -smsg_attr __ARGS((int, char_u *, ...)); +smsg_attr(int, char_u *, ...); int # ifdef __BORLANDC__ _RTLENTRYF # endif -vim_snprintf_add __ARGS((char *, size_t, char *, ...)); +vim_snprintf_add(char *, size_t, char *, ...); int # ifdef __BORLANDC__ _RTLENTRYF # endif -vim_snprintf __ARGS((char *, size_t, char *, ...)); +vim_snprintf(char *, size_t, char *, ...); # if defined(HAVE_STDARG_H) int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); @@ -140,11 +140,11 @@ int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs) # include "misc1.pro" # include "misc2.pro" #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */ -char_u *vim_strpbrk __ARGS((char_u *s, char_u *charset)); +char_u *vim_strpbrk(char_u *s, char_u *charset); #endif #ifndef HAVE_QSORT /* Use our own qsort(), don't define the prototype when not used. */ -void qsort __ARGS((void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *))); +void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)); #endif # include "move.pro" # if defined(FEAT_MBYTE) || defined(FEAT_XIM) || defined(FEAT_KEYMAP) \ @@ -219,9 +219,9 @@ void qsort __ARGS((void *base, size_t elm_count, size_t elm_size, int (*cmp)(con # include "pty.pro" # endif # if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS) -extern int putenv __ARGS((const char *string)); /* from pty.c */ +extern int putenv(const char *string); /* from pty.c */ # ifdef USE_VIMPTY_GETENV -extern char_u *vimpty_getenv __ARGS((const char_u *string)); /* from pty.c */ +extern char_u *vimpty_getenv(const char_u *string); /* from pty.c */ # endif # endif # ifdef FEAT_GUI_W16 @@ -241,7 +241,7 @@ extern char_u *vimpty_getenv __ARGS((const char_u *string)); /* from pty.c */ # ifdef FEAT_GUI_ATHENA # include "gui_athena.pro" # ifdef FEAT_BROWSE -extern char *vim_SelFile __ARGS((Widget toplevel, char *prompt, char *init_path, int (*show_entry)(), int x, int y, guicolor_T fg, guicolor_T bg, guicolor_T scroll_fg, guicolor_T scroll_bg)); +extern char *vim_SelFile(Widget toplevel, char *prompt, char *init_path, int (*show_entry)(), int x, int y, guicolor_T fg, guicolor_T bg, guicolor_T scroll_fg, guicolor_T scroll_bg); # endif # endif # ifdef FEAT_GUI_MAC |
