mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Use return instead of exit from main.
ok mestre@
This commit is contained in:
parent
faa927c783
commit
65e3e2c50a
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: map.c,v 1.2 2001/01/28 23:41:47 niklas Exp $ */
|
||||
/* $OpenBSD: map.c,v 1.3 2016/01/06 09:24:38 tb Exp $ */
|
||||
/* $NetBSD: map.c,v 1.2 1995/03/24 03:58:58 cgd Exp $ */
|
||||
|
||||
#define minusminus plusplus
|
||||
@ -125,7 +125,7 @@ main()
|
||||
|
||||
move(-1380, 1180);
|
||||
closepl();
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
plusplus(s, x, y) /* draw strings in plus plus quadrant */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: setup.c,v 1.14 2015/12/26 00:26:39 mestre Exp $ */
|
||||
/* $OpenBSD: setup.c,v 1.15 2016/01/06 09:24:38 tb Exp $ */
|
||||
/* $NetBSD: setup.c,v 1.4 1995/04/24 12:24:41 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -173,8 +173,7 @@ main(argc, argv)
|
||||
}
|
||||
}
|
||||
|
||||
exit(0);
|
||||
/*NOTREACHED*/
|
||||
return 0;
|
||||
}
|
||||
/**/
|
||||
/************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user