summaryrefslogtreecommitdiffstats
path: root/src/if_perlsfio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-04 21:24:53 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-04 21:24:53 +0100
commit2ab2e8608f9b2c85432715bb9a7f226fdbf8cd35 (patch)
tree0a361d816527e615a7b64298e7c51c16d65fb015 /src/if_perlsfio.c
parent9834b96820bec95d6858229d6fb256310365efff (diff)
patch 8.1.2387: using old C style commentsv8.1.2387
Problem: Using old C style comments. Solution: Use // comments where appropriate.
Diffstat (limited to 'src/if_perlsfio.c')
-rw-r--r--src/if_perlsfio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/if_perlsfio.c b/src/if_perlsfio.c
index f636e263b9..af15d3e8f2 100644
--- a/src/if_perlsfio.c
+++ b/src/if_perlsfio.c
@@ -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