fix: compile broken
This commit is contained in:
parent
0e62bc5f9e
commit
dfb25a03d8
4 changed files with 29 additions and 29 deletions
|
@ -15,11 +15,14 @@
|
|||
*/
|
||||
|
||||
/* --- includes --- */
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "defn.h" /* IMPORT: stdio.h */
|
||||
#include "textOutput.h" /* IMPORT: UpdateTextOutput */
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
/* int vfprintf (FILE *stream, const char *format, va_list arglist); */
|
||||
/* int vfprintf (FILE *stream, const char *format, va_list arglist);
|
||||
*/
|
||||
|
||||
/* ---- Exports ---- */
|
||||
void messagef(char *format, ...)
|
||||
|
@ -46,16 +49,16 @@ void popupMessage(char *message)
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
void popUpErrorMessage()
|
||||
{
|
||||
fprintf(stdout,"ERROR: Memory allocation problem.\nPlease exit and restart this program\n");
|
||||
fprintf(stdout,
|
||||
"ERROR: Memory allocation problem.\nPlease exit and restart "
|
||||
"this program\n");
|
||||
/* since this is the text version I want the program to exit if this
|
||||
memory allocation error occurs*/
|
||||
UpdateTextOutput();
|
||||
sleep(10);
|
||||
|
||||
exit();
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <X11/copyright.h>
|
||||
|
||||
/* $XConsortium: Sheet.c,v 1.2 88/10/25 17:40:25 swick Exp $ */
|
||||
/* Copyright Massachusetts Institute of Technology 1987, 1988 */
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <X11/copyright.h>
|
||||
|
||||
/* $XConsortium: Sheet.h,v 1.2 88/10/25 17:22:09 swick Exp $ */
|
||||
/* Copyright Massachusetts Institute of Technology 1987, 1988 */
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <X11/copyright.h>
|
||||
|
||||
/* $XConsortium: SheetP.h,v 1.2 88/10/25 17:37:59 swick Exp $ */
|
||||
/* Copyright Massachusetts Institute of Technology 1987, 1988 */
|
||||
|
|
Loading…
Reference in a new issue