From e093bdade050419290a1535ced1ca11fe7f8a2d5 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 23 Jul 2003 14:31:30 -0400 Subject: [PATCH] ENH: Fix compatibility --- Source/cmCPluginAPI.cxx | 2 +- Source/cmCPluginAPI.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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;