X11 missing prototypes

Add some prototypes and add a new include to a couple of files that
use config.h instead of hack.h.  So sys/unix/Makefile.src has been
changed slightly.
This commit is contained in:
PatR
2020-04-24 02:40:22 -07:00
parent 6677003c8f
commit 6b2fcd7d73
5 changed files with 51 additions and 18 deletions

View File

@@ -31,8 +31,9 @@
#include "xwindowp.h"
#include "config.h"
#include "lint.h"
#include "config.h" /* #define for const for non __STDC__ compilers */
#include "lint.h" /* for nethack's nhStr() macro */
#include "winX.h" /* to make sure protoypes match corresponding functions */
static XtResource resources[] = {
#define offset(field) XtOffset(WindowWidget, window.field)