Got it compiling again, but wow, warnings.

This commit is contained in:
Neale Pickett 2017-04-21 16:57:52 -06:00
parent 3b36a6aac2
commit f03844fd26
4 changed files with 7 additions and 7 deletions

View File

@ -5,12 +5,12 @@ OBJS = terminal.o rmove.o network.o netprot.o rwrite.o rread.o \
system.o ctlmod.o \
find.o inter.o
LDFLAGS = -lncurses -lcrypt
LDFLAGS = $(shell pkg-config --libs ncurses)
default: rogue
rogue: $(OBJS)
$(CC) -o $@ $(LDFLAGS) $^
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f $(OBJS) rogue

View File

@ -6,6 +6,7 @@
#include <curses.h>
#include <ctype.h>
#include <string.h>
#include "netprot.h"
/*
@ -269,5 +270,5 @@ show_win(char *message)
clearok(curscr, TRUE);
#ifdef attron
touchwin(stdscr);
#endif attron
#endif /* attron */
}

View File

@ -387,4 +387,4 @@ struct h_list Helpstr[] = {
#ifdef TIOCGLTC
struct ltchars Ltc; /* needed to change ^Y to not be suspchar */
#endif TIOCGLTC
#endif /* TIOCGLTC */

View File

@ -96,8 +96,7 @@ kill_daemon(void (*func)(int))
* passing the argument to the function.
*/
void
do_daemons(flag)
int flag;
do_daemons(int flag)
{
struct delayed_action *dev;