Advertisement
troglobit

uemacs/diff-1

Nov 12th, 2020
1,212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.07 KB | None | 0 0
  1. diff --git a/src/def.h b/src/def.h
  2. index f625597..95c1a57 100644
  3. --- a/src/def.h
  4. +++ b/src/def.h
  5. @@ -17,6 +17,8 @@
  6.  #include       "sysdef.h"              /* Order is critical.           */
  7.  #include       "ttydef.h"
  8.  #include       <stdio.h>
  9. +#include       <string.h>
  10. +#include       <stdlib.h>
  11.  
  12.  #define        CVMVAS  1                       /* C-V, M-V work in pages.      */
  13.  #define        BACKUP  0                       /* Make backup file.            */
  14. @@ -334,9 +336,3 @@ extern      int     curmsgf;
  15.  extern int     newmsgf;
  16.  extern char    msg[];
  17.  
  18. -/*
  19. - * Standard I/O.
  20. - */
  21. -extern char    *malloc();
  22. -extern char    *strcpy();
  23. -extern char    *strcat();
  24. diff --git a/src/sys/unix/Makefile b/src/sys/unix/Makefile
  25. index 2589778..af5dc80 100644
  26. --- a/src/sys/unix/Makefile
  27. +++ b/src/sys/unix/Makefile
  28. @@ -10,6 +10,7 @@ OBJS  += tty.o ttykbd.o
  29.  # back end: unix
  30.  OBJS   += fileio.o spawn.o ttyio.o
  31.  
  32. +CPPFLAGS += -Wno-incompatible-pointer-types -Wno-builtin-declaration-mismatch
  33.  CFLAGS += -I. -I../../tty/ansi -I../.. -std=c89
  34.  
  35.  all:   $(EXEC)
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement