1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-09-26 07:04:00 -04:00

Valid compilation when CLEAN is set.

Use assert() and robust fallback instead of exit() to handle 'impossible' cases.
This commit is contained in:
2015-02-15 14:41:35 +08:00
parent 115d9babae
commit c10c550bdd
4 changed files with 9 additions and 6 deletions

3
main.c
View File

@@ -592,8 +592,7 @@ static void dspram( void)
*
* int status; return status of emacs
*/
int cexit(int status)
{
void cexit( int status) {
struct buffer *bp; /* buffer list pointer */
struct window *wp; /* window list pointer */
struct window *tp; /* temporary window pointer */