[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] build cvs emacs for x86_64-sun-solaris10
From: |
Chong Yidong |
Subject: |
Re: [Patch] build cvs emacs for x86_64-sun-solaris10 |
Date: |
Fri, 08 Dec 2006 10:51:59 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
AKAJI Hiroyuki <address@hidden> writes:
> I successfully built cvs emacs on my Opteron box for the target
> x86_64-sun-solaris10.
Thanks, I've applied your patch to CVS, except for the following:
> --- src/fns.c 24 Nov 2006 19:53:56 -0000 1.422
> +++ src/fns.c 8 Dec 2006 04:14:20 -0000
> @@ -89,6 +89,8 @@
> #ifndef HAVE_UNISTD_H
> extern long time ();
> #endif
> +
> +static Lisp_Object concat (int, Lisp_Object *, enum Lisp_Type, int);
>
> DEFUN ("identity", Fidentity, Sidentity, 1, 1, 0,
> doc: /* Return the argument unchanged. */)
Why is this change needed? The prototype for concat is defined later
in fns.c, on line 390:
#if __GNUC__
static Lisp_Object concat P_ ((int nargs, Lisp_Object *args, enum Lisp_Type
target_type, int last_special)) __attribute__((noinline));
#else /* !__GNUC__ */
static Lisp_Object concat P_ ((int nargs, Lisp_Object *args, enum Lisp_Type
target_type, int last_special));
#endif
There is call to concat() between lines 89 and 390, so adding an extra
prototype at 89 should be a no-op.