Package: geomview
Severity: minor
Tags: patch

The patch below corrects a bug in a list of function
prototypes.  This is due to the "*" in C attaching to the
declarator rather than the type.

Although the bug may not cause run-time errors, it
interferes with source code analysis.


diff -ub src/lib/gprim/geom/knownclass.c.orig src/lib/gprim/geom/knownclass.c
--- src/lib/gprim/geom/knownclass.c.orig        2006-05-08 00:08:55.000000000 
-0700
+++ src/lib/gprim/geom/knownclass.c     2006-05-08 00:09:12.000000000 -0700
@@ -70,7 +70,8 @@
        TlistPresent,
        VectPresent;
 
-extern GeomClass *
+typedef GeomClass *GeomClassPtr;
+extern GeomClassPtr
        BBoxMethods(),
        BezierListMethods(),
        BezierMethods(),



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (60, 'unstable'), (40, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-quack+roar.cs.berkeley.edu
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to