Mercurial > vim
diff src/gui_gtk_vms.h @ 18753:6e3dc2d630c2 v8.1.2366
patch 8.1.2366: using old C style comments
Commit: https://github.com/vim/vim/commit/9bf703d46a79fbffeb829246ea5ce385bddc4166
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 19:44:38 2019 +0100
patch 8.1.2366: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 19:45:03 +0100 |
parents | 4aead6a9b7a9 |
children | bdda90ed5f6c |
line wrap: on
line diff
--- a/src/gui_gtk_vms.h +++ b/src/gui_gtk_vms.h @@ -74,11 +74,11 @@ ************************************************************************* */ -/* INTRINSIC.H omits proto if XtFree is defined */ -/* VMS_BEGIN_C_PLUS_PLUS */ +// INTRINSIC.H omits proto if XtFree is defined +// VMS_BEGIN_C_PLUS_PLUS extern void XtFree(char*); extern void XTFREE(char*); -/* VMS_END_C_PLUS_PLUS */ +// VMS_END_C_PLUS_PLUS #define _XRegisterFilterByType _XREGISTERFILTERBYTYPE @@ -719,10 +719,10 @@ extern void XTFREE(char*); ** named None. So for now hard code this is R5.... */ #ifndef VMS_X11R6 -/* R5 or earlier */ +// R5 or earlier #define _XtRegisterWindow _XTREGISTERWINDOW #define _XtUnregisterWindow _XTUNREGISTERWINDOW -/* original code is fixed so we don't need this now */ +// original code is fixed so we don't need this now #if 0 #define XtRegisterDrawable(display,drawable,widget) \ { extern void _XtRegisterWindow(Window,Widget); \ @@ -734,7 +734,7 @@ extern void XTFREE(char*); } #endif #else -/* R6 or later */ +// R6 or later #define XtRegisterDrawable XTREGISTERDRAWABLE #define XtUnregisterDrawable XTUNREGISTERDRAWABLE #endif