~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/gsmisc.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: gsmisc.c 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id: gsmisc.c 8250 2007-09-25 13:31:24Z giles $ */
15
15
/* Miscellaneous utilities for Ghostscript library */
16
16
 
17
17
 
36
36
#else
37
37
#  include <math.h>
38
38
#endif
39
 
inline private double
 
39
static inline double
40
40
orig_sqrt(double x)
41
41
{
42
42
    return sqrt(x);
134
134
{
135
135
    errflush();
136
136
}
137
 
private const char *
 
137
static const char *
138
138
dprintf_file_tail(const char *file)
139
139
{
140
140
    const char *tail = file + strlen(file);
1112
1112
#define sin89 0.99984769515639127
1113
1113
#define sin90 1.00000000000000000
1114
1114
 
1115
 
private const double sin_table[361] =
 
1115
static const double sin_table[361] =
1116
1116
{
1117
1117
    sin0,
1118
1118
    sin1, sin2, sin3, sin4, sin5, sin6, sin7, sin8, sin9, sin10,