1
0
forked from aniani/vim

patch 8.1.2387: using old C style comments

Problem:    Using old C style comments.
Solution:   Use // comments where appropriate.
This commit is contained in:
Bram Moolenaar
2019-12-04 21:24:53 +01:00
parent 9834b96820
commit 2ab2e8608f
12 changed files with 1349 additions and 1335 deletions

View File

@@ -10,14 +10,14 @@
* if_perlsfio.c: Special I/O functions for Perl interface.
*/
#define _memory_h /* avoid memset redeclaration */
#define IN_PERL_FILE /* don't include if_perl.pro from prot.h */
#define _memory_h // avoid memset redeclaration
#define IN_PERL_FILE // don't include if_perl.pro from prot.h
#include "vim.h"
#if defined(USE_SFIO) || defined(PROTO)
#ifndef USE_SFIO /* just generating prototypes */
#ifndef USE_SFIO // just generating prototypes
# define Sfio_t int
# define Sfdisc_t int
#endif
@@ -26,10 +26,10 @@
static int
sfvimwrite(
Sfio_t *f, /* stream involved */
char *buf, /* buffer to read from */
int n, /* number of bytes to write */
Sfdisc_t *disc) /* discipline */
Sfio_t *f, // stream involved
char *buf, // buffer to read from
int n, // number of bytes to write
Sfdisc_t *disc) // discipline
{
char_u *str;
@@ -63,4 +63,4 @@ sfdcnewvim(void)
return disc;
}
#endif /* USE_SFIO */
#endif // USE_SFIO