int ShowUsage( char *szError )
-{ int i;
+{
+ int i;
fprintf( stderr, USAGE );
return 0;
}
-char *echogets(char *s, int echo) {
+char *echogets(char *s, int echo)
+{
char * const retval=fgets(s, LINELENGTH, stdin);
if (echo!=0 && retval!=NULL) {
fputs(retval, stderr);
AC_MSG_RESULT(no))
fi
-AC_CHECK_HEADERS(stdarg.h stdint.h stdlib.h string.h \
+AC_CHECK_HEADERS(stdint.h stdlib.h string.h \
sys/select.h sys/utsname.h termcap.h fcntl.h \
sgtty.h sys/ioctl.h sys/time.h sys/types.h \
termio.h iconv.h inttypes.h langinfo.h math.h \
*/
static long
-mygetdigits(pp)
- char_u **pp;
+mygetdigits(char_u **pp)
{
char_u *p;
long retval = 0;
* 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;
* 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)
* Rows and/or Columns has changed.
*/
void
-mch_new_shellsize()
+mch_new_shellsize(void)
{
#ifdef FEAT_MOUSE
/* best guess for mouse coordinate computations */
* DOS console when 'columns' is set to a too large value.
*/
void
-mch_check_columns()
+mch_check_columns(void)
{
static union REGS regs;
* 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;