Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!boring.cray.com!hrp From: hrp@boring.cray.com (Hal Peterson) Newsgroups: gnu.ghostscript.bug Subject: some warnings fixed Message-ID: <8910121941.AA27416@rothko.cray.com> Date: 12 Oct 89 19:41:16 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 27 I am using Ghostscript 1.4 on Sun-3/280s and Sun-3/50s under SunOS 3.5 and X11R4alpha, compiled with GCC 1.36, and got some warnings from the compilation of gscoord.c because of missing forward declarations. The patch below adds them. *** gscoord-DIST.c Thu Aug 3 02:31:45 1989 --- gscoord.c Tue Oct 3 11:13:03 1989 *************** *** 30,35 **** --- 30,40 ---- /* Macro for ensuring ctm_inverse is valid */ #ifdef DEBUG + /* Forward declarations. */ + private int trace_ctm(gs_state *); + private int trace_matrix(gs_matrix *); + + /* Print a matrix */ #define print_inverse(pgs)\ if ( gs_debug['x'] )\ printf("[x]Inverting:\n"), trace_ctm(pgs), trace_matrix(&pgs->ctm_inverse) -- Hal Peterson Domain: hrp@cray.com Cray Research Old style: hrp%cray.com@uc.msc.umn.edu 1440 Northland Dr. UUCP: uunet!cray!hrp Mendota Hts, MN 55120 USA Telephone: +1 612 681 3145