they're already declared in ftp_var.h.
* ftp_var.h (FDOPEN_SOCKET): Fix second arg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13631
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-07-24 Tom Yu <tlyu@mit.edu>
+
+ * getpass.c: Remove duplicate definitions of sig_t, my_sig_t;
+ they're already declared in ftp_var.h.
+
+ * ftp_var.h (FDOPEN_SOCKET): Fix second arg.
+
2001-07-23 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in, cmds.c, ftp.c, ftp_var.h, getpass.c, glob.c,
#define PERROR_SOCKET(str) do { errno = SOCKET_ERRNO; perror(str); } while(0)
#else
#define FCLOSE_SOCKET(f) fclose(f)
-#define FDOPEN_SOCKET(s, mode) fdopen(s, fd)
+#define FDOPEN_SOCKET(s, mode) fdopen(s, mode)
#define SOCKETNO(fd) (fd)
#define PERROR_SOCKET(str) perror(str)
#endif
static FILE *fi;
-#define sig_t my_sig_t
-#define sigtype krb5_sigtype
-typedef sigtype (*sig_t)();
-
static sigtype
intfix(sig)
int sig;