summaryrefslogtreecommitdiff
path: root/src/os_msdos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_msdos.c')
-rw-r--r--src/os_msdos.c29
1 files changed, 18 insertions, 11 deletions
diff --git a/src/os_msdos.c b/src/os_msdos.c
index 1b75a30f7..840f654fb 100644
--- a/src/os_msdos.c
+++ b/src/os_msdos.c
@@ -370,8 +370,7 @@ mytextbackground(int iBkgColor)
*/
static long
-mygetdigits(pp)
- char_u **pp;
+mygetdigits(char_u **pp)
{
char_u *p;
long retval = 0;
@@ -473,7 +472,7 @@ translate_altkeys(int rawkey)
* Set normal fg/bg color, based on T_ME. Called when t_me has been set.
*/
void
-mch_set_normal_colors()
+mch_set_normal_colors(void)
{
char_u *p;
int n;
@@ -1232,8 +1231,16 @@ cbrk_handler(void)
* For DOS 3 and later return 3 (Fail)
*/
static void interrupt
-catch_cint(bp, di, si, ds, es, dx, cx, bx, ax)
- unsigned bp, di, si, ds, es, dx, cx, bx, ax;
+catch_cint(
+ unsigned bp,
+ unsigned di,
+ unsigned si,
+ unsigned ds,
+ unsigned es,
+ unsigned dx,
+ unsigned cx,
+ unsigned bx,
+ unsigned ax)
{
ax = (ax & 0xff00); /* set AL to 0 */
if (_osmajor >= 3)
@@ -1876,7 +1883,7 @@ mch_set_shellsize(void)
* Rows and/or Columns has changed.
*/
void
-mch_new_shellsize()
+mch_new_shellsize(void)
{
#ifdef FEAT_MOUSE
/* best guess for mouse coordinate computations */
@@ -1897,7 +1904,7 @@ mch_new_shellsize()
* DOS console when 'columns' is set to a too large value.
*/
void
-mch_check_columns()
+mch_check_columns(void)
{
static union REGS regs;
@@ -2946,10 +2953,10 @@ mch_isdir(char_u *name)
* Return -1 if unknown.
*/
int
-mch_can_exe(name, path, use_path)
- char_u *name;
- char_u **path;
- int use_path;
+mch_can_exe(
+ char_u *name,
+ char_u **path,
+ int use_path)
{
char *p;
int mode;