summaryrefslogtreecommitdiff
path: root/src/if_cscope.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-30 19:44:38 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-30 19:44:38 +0100
commit9bf703d46a79fbffeb829246ea5ce385bddc4166 (patch)
tree6afff788b4fbd8fbf61557c47c24c26c975ea8ee /src/if_cscope.h
parent20ebbeac461ffc2a5e5dbfbb0ba380b8854615bd (diff)
downloadvim-git-9bf703d46a79fbffeb829246ea5ce385bddc4166.tar.gz
patch 8.1.2366: using old C style commentsv8.1.2366
Problem: Using old C style comments. Solution: Use // comments where appropriate.
Diffstat (limited to 'src/if_cscope.h')
-rw-r--r--src/if_cscope.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/if_cscope.h b/src/if_cscope.h
index 6f3b02dbd..5c031a355 100644
--- a/src/if_cscope.h
+++ b/src/if_cscope.h
@@ -33,29 +33,29 @@ typedef struct {
int (*func)(exarg_T *eap);
char * help;
char * usage;
- int cansplit; /* if supports splitting window */
+ int cansplit; // if supports splitting window
} cscmd_T;
typedef struct csi {
- char * fname; /* cscope db name */
- char * ppath; /* path to prepend (the -P option) */
- char * flags; /* additional cscope flags/options (e.g, -p2) */
+ char * fname; // cscope db name
+ char * ppath; // path to prepend (the -P option)
+ char * flags; // additional cscope flags/options (e.g, -p2)
#if defined(UNIX)
- pid_t pid; /* PID of the connected cscope process. */
- dev_t st_dev; /* ID of dev containing cscope db */
- ino_t st_ino; /* inode number of cscope db */
+ pid_t pid; // PID of the connected cscope process.
+ dev_t st_dev; // ID of dev containing cscope db
+ ino_t st_ino; // inode number of cscope db
#else
# if defined(MSWIN)
- DWORD pid; /* PID of the connected cscope process. */
- HANDLE hProc; /* cscope process handle */
- DWORD nVolume; /* Volume serial number, instead of st_dev */
- DWORD nIndexHigh; /* st_ino has no meaning in the Windows */
+ DWORD pid; // PID of the connected cscope process.
+ HANDLE hProc; // cscope process handle
+ DWORD nVolume; // Volume serial number, instead of st_dev
+ DWORD nIndexHigh; // st_ino has no meaning in the Windows
DWORD nIndexLow;
# endif
#endif
- FILE * fr_fp; /* from cscope: FILE. */
- FILE * to_fp; /* to cscope: FILE. */
+ FILE * fr_fp; // from cscope: FILE.
+ FILE * to_fp; // to cscope: FILE.
} csinfo_T;
typedef enum { Add, Find, Help, Kill, Reset, Show } csid_e;
@@ -68,6 +68,4 @@ typedef enum {
} mcmd_e;
-#endif /* FEAT_CSCOPE */
-
-/* the end */
+#endif // FEAT_CSCOPE