From: Andreas Schwab Date: Fri, 28 Nov 1997 14:37:15 +0000 (+0000) Subject: (internal_with_output_to_temp_buffer): X-Git-Tag: emacs-20.3~2696 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3d03cf9fdbaeb9d0f7d7e2a4bac322126c128ed7;p=emacs.git (internal_with_output_to_temp_buffer): Don't declare arg type taken by 2nd arg. --- diff --git a/src/lisp.h b/src/lisp.h index 97c7efdc3cd..6a06d2be82d 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1766,7 +1766,7 @@ extern void write_string P_ ((char *, int)); extern void write_string_1 P_ ((char *, int, Lisp_Object)); extern void print_error_message P_ ((Lisp_Object, Lisp_Object)); extern Lisp_Object internal_with_output_to_temp_buffer - P_ ((char *, Lisp_Object (*) (Lisp_Object), Lisp_Object)); + P_ ((char *, Lisp_Object (*) (), Lisp_Object)); extern void float_to_string P_ ((unsigned char *, double)); /* Defined in doprnt.c */ diff --git a/src/print.c b/src/print.c index 48583dabd06..ecfec6b3a8b 100644 --- a/src/print.c +++ b/src/print.c @@ -582,7 +582,7 @@ temp_output_buffer_setup (bufname) Lisp_Object internal_with_output_to_temp_buffer (bufname, function, args) char *bufname; - Lisp_Object (*function) P_ ((Lisp_Object)); + Lisp_Object (*function) (); Lisp_Object args; { int count = specpdl_ptr - specpdl;