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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user