Sync OpenBSD patchset 173:

None of the server message functions return anything but 0, so make them all
void.

Also remove a leftover variable in client.c.
This commit is contained in:
Tiago Cunha
2009-07-23 23:47:23 +00:00
parent 1870b96578
commit 7cd412dc57
2 changed files with 18 additions and 33 deletions

View File

@ -1,4 +1,4 @@
/* $Id: client.c,v 1.55 2009-07-23 23:42:59 tcunha Exp $ */
/* $Id: client.c,v 1.56 2009-07-23 23:47:23 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -138,14 +138,12 @@ int
client_main(struct client_ctx *cctx)
{
struct pollfd pfd;
char *error;
int xtimeout; /* Yay for ncurses namespace! */
siginit();
logfile("client");
error = NULL;
while (!sigterm) {
if (sigchld) {
waitpid(WAIT_ANY, NULL, WNOHANG);