diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index d31f52be2..35f637266 100644 --- a/Source/cmCPluginAPI.cxx +++ b/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, }; diff --git a/Source/cmCPluginAPI.h b/Source/cmCPluginAPI.h index ac2bfa39f..35056c363 100644 --- a/Source/cmCPluginAPI.h +++ b/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;