[project @ 2005-01-20 14:30:17 by simonmar]
authorsimonmar <unknown>
Thu, 20 Jan 2005 14:30:17 +0000 (14:30 +0000)
committersimonmar <unknown>
Thu, 20 Jan 2005 14:30:17 +0000 (14:30 +0000)
Avoid a warning

ghc/rts/Adjustor.c

index bf4540a..3d111b5 100644 (file)
@@ -192,7 +192,13 @@ typedef struct AdjustorStub {
 #endif
 
 void*
-createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr, char *typeString)
+createAdjustor(int cconv, StgStablePtr hptr,
+              StgFunPtr wptr,
+              char *typeString
+#if !defined(powerpc_TARGET_ARCH) && !defined(powerpc64_TARGET_ARCH)
+                 STG_UNUSED
+#endif
+              )
 {
   void *adjustor = NULL;