diff -Nurd xpostit-3.3.2.orig/Imakefile xpostit-3.3.2/Imakefile --- xpostit-3.3.2.orig/Imakefile 2002-12-26 08:21:22.000000000 -0500 +++ xpostit-3.3.2/Imakefile 2003-01-08 09:48:24.000000000 -0500 @@ -64,12 +64,9 @@ # SYS_LIBRARIES = XawClientLibs DEPLIBS = XawClientDepLibs - SRCS = Plaid.c confirm.c menu.c note.c plaid.c title.c util.c \ + SRCS = Plaid.c confirm.c menu.c note.c plaidfuncs.c title.c util.c \ version.c xpostit.c - OBJS = Plaid.o confirm.o menu.o note.o plaid.o title.o util.o \ + OBJS = Plaid.o confirm.o menu.o note.o plaidfuncs.o title.o util.o \ version.o xpostit.o ComplexProgramTarget(xpostit) - -InstallAppDefaults(XPostit) -InstallAppDefaults(XPostit-color) diff -Nurd xpostit-3.3.2.orig/note.c xpostit-3.3.2/note.c --- xpostit-3.3.2.orig/note.c 2002-12-26 08:21:22.000000000 -0500 +++ xpostit-3.3.2/note.c 2002-12-26 09:22:52.000000000 -0500 @@ -98,6 +98,7 @@ #include #include #include +#include #include #include #if defined(USG) || defined(SYSV) || defined(SVR4) @@ -106,6 +107,9 @@ #include #endif #include +#include +#include +#include #include "xpostit.h" #include "vroot.h" @@ -238,7 +242,6 @@ { DIR *dp; FILE *fp; - char *realloc(); register PostItNote *pn; #if defined(USG) || defined(SYSV) || defined(SVR4) register struct dirent *d; @@ -708,7 +711,6 @@ #endif FILE *fp; char *state; - char *MakeFname(); register PostItNote *pn; XWindowAttributes win_attributes; int len, shellx, shelly, texth, textw; diff -Nurd xpostit-3.3.2.orig/util.c xpostit-3.3.2/util.c --- xpostit-3.3.2.orig/util.c 2002-12-26 08:21:22.000000000 -0500 +++ xpostit-3.3.2/util.c 2002-12-26 08:57:20.000000000 -0500 @@ -46,6 +46,8 @@ #include #include #include +#include +#include #include "xpostit.h" @@ -72,7 +74,6 @@ void SetNoteDir() { - char *getenv(); char *home, *s; struct passwd *pwd; char fname[MAXPATHLEN]; @@ -129,7 +130,6 @@ SafeAlloc(nbytes) register int nbytes; { - char *malloc(); register char *s; if ((s = malloc(nbytes)) == NULL) { diff -Nurd xpostit-3.3.2.orig/xpostit.c xpostit-3.3.2/xpostit.c --- xpostit-3.3.2.orig/xpostit.c 2002-12-26 08:21:22.000000000 -0500 +++ xpostit-3.3.2/xpostit.c 2002-12-26 08:25:12.000000000 -0500 @@ -121,7 +121,6 @@ { Arg args[4]; char *appname; - char *rindex(); Atom protos[2]; register int nargs; Boolean setsigs = False;