summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarren Turkal <wt@penguintechs.com>2004-02-18 02:12:44 +0000
committerWarren Turkal <wt@penguintechs.com>2004-02-18 02:12:44 +0000
commita27ffd2678ef76453c4fa27932462425d804df6d (patch)
tree6d740a11bdcbdcef78158ebb5daf02c6698b6bf6
parentb146ef1548d36d6897fbd674f1c3b8324bed11a7 (diff)
completely get rid of NeedNestedPrototypes
completely get rid of NeedVarargsPrototypes remove a lot of NeedFunctionPrototypes ansify many function declarations
-rw-r--r--hw/kdrive/src/knoop.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/hw/kdrive/src/knoop.c b/hw/kdrive/src/knoop.c
index 26d7642f9..f3eee0f36 100644
--- a/hw/kdrive/src/knoop.c
+++ b/hw/kdrive/src/knoop.c
@@ -34,18 +34,15 @@
#include <gcstruct.h>
typedef void (* typeFillSpans)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*nInit*/,
DDXPointPtr /*pptInit*/,
int * /*pwidthInit*/,
int /*fSorted*/
-#endif
);
typedef void (* typeSetSpans)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
char * /*psrc*/,
@@ -53,11 +50,9 @@ typedef void (* typeSetSpans)(
int * /*pwidth*/,
int /*nspans*/,
int /*fSorted*/
-#endif
);
typedef void (* typePutImage)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*depth*/,
@@ -68,11 +63,9 @@ typedef void (* typePutImage)(
int /*leftPad*/,
int /*format*/,
char * /*pBits*/
-#endif
);
typedef RegionPtr (* typeCopyArea)(
-#if NeedNestedPrototypes
DrawablePtr /*pSrc*/,
DrawablePtr /*pDst*/,
GCPtr /*pGC*/,
@@ -82,11 +75,9 @@ typedef RegionPtr (* typeCopyArea)(
int /*h*/,
int /*dstx*/,
int /*dsty*/
-#endif
);
typedef RegionPtr (* typeCopyPlane)(
-#if NeedNestedPrototypes
DrawablePtr /*pSrcDrawable*/,
DrawablePtr /*pDstDrawable*/,
GCPtr /*pGC*/,
@@ -97,130 +88,104 @@ typedef RegionPtr (* typeCopyPlane)(
int /*dstx*/,
int /*dsty*/,
unsigned long /*bitPlane*/
-#endif
);
typedef void (* typePolyPoint)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*mode*/,
int /*npt*/,
DDXPointPtr /*pptInit*/
-#endif
);
typedef void (* typePolylines)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*mode*/,
int /*npt*/,
DDXPointPtr /*pptInit*/
-#endif
);
typedef void (* typePolySegment)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*nseg*/,
xSegment * /*pSegs*/
-#endif
);
typedef void (* typePolyRectangle)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*nrects*/,
xRectangle * /*pRects*/
-#endif
);
typedef void (* typePolyArc)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*narcs*/,
xArc * /*parcs*/
-#endif
);
typedef void (* typeFillPolygon)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*shape*/,
int /*mode*/,
int /*count*/,
DDXPointPtr /*pPts*/
-#endif
);
typedef void (* typePolyFillRect)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*nrectFill*/,
xRectangle * /*prectInit*/
-#endif
);
typedef void (* typePolyFillArc)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*narcs*/,
xArc * /*parcs*/
-#endif
);
typedef int (* typePolyText8)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*x*/,
int /*y*/,
int /*count*/,
char * /*chars*/
-#endif
);
typedef int (* typePolyText16)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*x*/,
int /*y*/,
int /*count*/,
unsigned short * /*chars*/
-#endif
);
typedef void (* typeImageText8)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*x*/,
int /*y*/,
int /*count*/,
char * /*chars*/
-#endif
);
typedef void (* typeImageText16)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*x*/,
int /*y*/,
int /*count*/,
unsigned short * /*chars*/
-#endif
);
typedef void (* typeImageGlyphBlt)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*x*/,
@@ -228,11 +193,9 @@ typedef void (* typeImageGlyphBlt)(
unsigned int /*nglyph*/,
CharInfoPtr * /*ppci*/,
pointer /*pglyphBase*/
-#endif
);
typedef void (* typePolyGlyphBlt)(
-#if NeedNestedPrototypes
DrawablePtr /*pDrawable*/,
GCPtr /*pGC*/,
int /*x*/,
@@ -240,11 +203,9 @@ typedef void (* typePolyGlyphBlt)(
unsigned int /*nglyph*/,
CharInfoPtr * /*ppci*/,
pointer /*pglyphBase*/
-#endif
);
typedef void (* typePushPixels)(
-#if NeedNestedPrototypes
GCPtr /*pGC*/,
PixmapPtr /*pBitMap*/,
DrawablePtr /*pDst*/,
@@ -252,7 +213,6 @@ typedef void (* typePushPixels)(
int /*h*/,
int /*x*/,
int /*y*/
-#endif
);
static RegionPtr