Browse Source

ENH: Fix compatibility

Andy Cedilnik 22 years ago
parent
commit
e093bdade0
2 changed files with 4 additions and 3 deletions
  1. 1 1
      Source/cmCPluginAPI.cxx
  2. 3 2
      Source/cmCPluginAPI.h

+ 1 - 1
Source/cmCPluginAPI.cxx

@@ -556,7 +556,6 @@ cmCAPI cmStaticCAPI =
   cmFreeArguments,
   cmSetClientData,
   cmSetError,
-  cmDisplayStatus,
   cmAddCacheDefinition,
   cmAddCustomCommand,
   cmAddDefineFlag,
@@ -606,5 +605,6 @@ cmCAPI cmStaticCAPI =
 
   cmAddCustomCommandToOutput,
   cmAddCustomCommandToTarget,
+  cmDisplayStatus,
 };
 

+ 3 - 2
Source/cmCPluginAPI.h

@@ -57,8 +57,6 @@ typedef struct
   void  (*SetClientData) (void *info, void *cd);
   /* when an error occurs, call this function to set the error string */
   void  (*SetError) (void *info, const char *err);
-  /* display status information */
-  void  (*DisplaySatus) (void *info, const char *message);
   
   /*=========================================================================
   The following functions all directly map to methods in the cmMakefile
@@ -160,6 +158,9 @@ typedef struct
                                      int numArgs, const char **args,
                                      int commandType);
   
+  /* display status information */
+  void  (*DisplaySatus) (void *info, const char *message);
+
   /* this is the end of the C function stub API structure */ 
 } cmCAPI;