X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/73f662acc31034cd98fdc6e157454f7763ef0792..1347f3d1e04bedd1508589173f577673ee2c5554:/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h diff --git a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h index 25fd29c2..b34f832e 100644 --- a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h +++ b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h @@ -41,8 +41,6 @@ class ADMINS; class TRAFFCOUNTER; class SETTINGS; -extern "C" PLUGIN * GetPlugin(); - //----------------------------------------------------------------------------- class DIVERT_CAP : public PLUGIN { public: @@ -59,7 +57,7 @@ public: void SetSettings(const MODULE_SETTINGS & s) { settings = s; } int ParseSettings(); const std::string & GetStrError() const { return errorStr; } - const std::string GetVersion() const; + std::string GetVersion() const; uint16_t GetStartPosition() const { return 40; } uint16_t GetStopPosition() const { return 40; }