]> git.ipfire.org Git - thirdparty/squid.git/commit - src/cbdata.h
Bug 2734: fix compile errors from CBDATA_CLASS2()
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 2 Sep 2009 13:09:29 +0000 (01:09 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 2 Sep 2009 13:09:29 +0000 (01:09 +1200)
commitd2bf2f902f18d59143609d67910b164ee97874a1
tree1b288d8c90cc87dcbcea2da4055c4550757085b6
parented07aba117a1cdffd75bdb6289028884dbfc6ba7
Bug 2734: fix compile errors from CBDATA_CLASS2()

Some compilers don't like the sytax private:;

This makes the starting state explicitly private: instead of assuming its
going to be defined in a private state and dependign on the definer class.

We can cope with not setting the state to private at the end of the macro
as well. It just means the use of this macro must be last, or have an
explicit private/public definition after its use.
src/StoreHashIndex.h
src/cbdata.h
src/forward.h