6b748570d0
Bump PKGREVISION to denote changes. `emacs -nw' gets a startup window, but emacs (with Xt) still dumps core. XXX: maybe much more prototypes are neccesary for LONG_LISP_OBJECT and XXX: VALBITS>=32 on LP64.
22 lines
533 B
Text
22 lines
533 B
Text
$NetBSD: patch-bz,v 1.2 2017/05/07 06:49:23 tsutsui Exp $
|
|
|
|
--- lib-src/emacsclient.c.orig 1994-07-27 17:57:35.000000000 +0000
|
|
+++ lib-src/emacsclient.c
|
|
@@ -53,7 +53,6 @@ main (argc, argv)
|
|
#include <errno.h>
|
|
|
|
extern char *strerror ();
|
|
-extern int errno;
|
|
|
|
main (argc, argv)
|
|
int argc;
|
|
@@ -66,9 +65,6 @@ main (argc, argv)
|
|
char *homedir, *cwd, *str;
|
|
char string[BUFSIZ];
|
|
|
|
- char *getenv (), *getwd ();
|
|
- int geteuid ();
|
|
-
|
|
if (argc < 2)
|
|
{
|
|
fprintf (stderr, "Usage: %s [+linenumber] filename\n", argv[0]);
|