460bd4190f
- fix warnings for missing prototypes - use termios instead of sgtty (why doesn't this work on amd64?)
22 lines
548 B
Text
22 lines
548 B
Text
$NetBSD: patch-ap,v 1.3 2008/12/17 02:19:59 christos Exp $
|
|
|
|
--- icb/s_bump.c.orig 1995-02-24 16:20:27.000000000 -0500
|
|
+++ icb/s_bump.c 2008-12-16 20:18:01.000000000 -0500
|
|
@@ -6,6 +6,8 @@
|
|
|
|
#include "icb.h"
|
|
#include "externs.h"
|
|
+#include <stdlib.h>
|
|
+#include <unistd.h>
|
|
|
|
s_bump(TARGLIST)
|
|
TARGDEFS
|
|
@@ -22,7 +24,7 @@
|
|
if (argc > 2)
|
|
password = argv[2];
|
|
else
|
|
- password = (char *) getpass ("Enter password:");
|
|
+ password = getpass ("Enter password:");
|
|
|
|
sprintf(message,"bump %s %s", nick, password);
|
|
sendpersonal("server",message,-1);
|