Bug 1128413, Part 2: Don't use double underscores any more

This commit is contained in:
Brian Smith 2015-01-31 19:51:46 -08:00
parent 0e83193293
commit 1aa8a904ff
13 changed files with 39 additions and 39 deletions

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__Input_h
#define mozilla_pkix__Input_h
#ifndef mozilla_pkix_Input_h
#define mozilla_pkix_Input_h
#include <cstring>
@ -341,4 +341,4 @@ InputContains(const Input& input, uint8_t toFind)
} } // namespace mozilla::pkix
#endif // mozilla_pkix__Input_h
#endif // mozilla_pkix_Input_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__Result_h
#define mozilla_pkix__Result_h
#ifndef mozilla_pkix_Result_h
#define mozilla_pkix_Result_h
#include <cassert>
@ -218,4 +218,4 @@ NotReached(const char* /*explanation*/, Result result)
} } // namespace mozilla::pkix
#endif // mozilla_pkix__Result_h
#endif // mozilla_pkix_Result_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__ScopedPtr_h
#define mozilla_pkix__ScopedPtr_h
#ifndef mozilla_pkix_ScopedPtr_h
#define mozilla_pkix_ScopedPtr_h
#include "pkix/stdkeywords.h"
@ -103,4 +103,4 @@ operator!=(const ScopedPtr<T, Destroyer>& a, T* b)
} } // namespace mozilla::pkix
#endif // mozilla_pkix__ScopedPtr_h
#endif // mozilla_pkix_ScopedPtr_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__Time_h
#define mozilla_pkix__Time_h
#ifndef mozilla_pkix_Time_h
#define mozilla_pkix_Time_h
#include <ctime>
#include <limits>
@ -124,4 +124,4 @@ Time TimeFromEpochInSeconds(uint64_t secondsSinceEpoch);
} } // namespace mozilla::pkix
#endif // mozilla_pkix__Time_h
#endif // mozilla_pkix_Time_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__pkix_h
#define mozilla_pkix__pkix_h
#ifndef mozilla_pkix_pkix_h
#define mozilla_pkix_pkix_h
#include "pkixtypes.h"
@ -149,4 +149,4 @@ Result VerifyEncodedOCSPResponse(TrustDomain& trustDomain,
} } // namespace mozilla::pkix
#endif // mozilla_pkix__pkix_h
#endif // mozilla_pkix_pkix_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__pkixnss_h
#define mozilla_pkix__pkixnss_h
#ifndef mozilla_pkix_pkixnss_h
#define mozilla_pkix_pkixnss_h
#include "pkixtypes.h"
#include "prerror.h"
@ -95,4 +95,4 @@ inline SECItem UnsafeMapInputToSECItem(Input input)
} } // namespace mozilla::pkix
#endif // mozilla_pkix__pkixnss_h
#endif // mozilla_pkix_pkixnss_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__pkixtypes_h
#define mozilla_pkix__pkixtypes_h
#ifndef mozilla_pkix_pkixtypes_h
#define mozilla_pkix_pkixtypes_h
#include "pkix/Input.h"
#include "pkix/Time.h"
@ -342,4 +342,4 @@ protected:
} } // namespace mozilla::pkix
#endif // mozilla_pkix__pkixtypes_h
#endif // mozilla_pkix_pkixtypes_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__stdkeywords_h
#define mozilla_pkix__stdkeywords_h
#ifndef mozilla_pkix_stdkeywords_h
#define mozilla_pkix_stdkeywords_h
#if defined(__GNUC__) && !defined(__clang__)
@ -35,4 +35,4 @@
#endif // defined(__GNUC__) && !defined(__clang__)
#endif // mozilla_pkix__stdkeywords_h
#endif // mozilla_pkix_stdkeywords_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__pkixcheck_h
#define mozilla_pkix__pkixcheck_h
#ifndef mozilla_pkix_pkixcheck_h
#define mozilla_pkix_pkixcheck_h
#include "pkix/pkixtypes.h"
@ -47,4 +47,4 @@ Result CheckNameConstraints(Input encodedNameConstraints,
} } // namespace mozilla::pkix
#endif // mozilla_pkix__pkixcheck_h
#endif // mozilla_pkix_pkixcheck_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__pkixder_h
#define mozilla_pkix__pkixder_h
#ifndef mozilla_pkix_pkixder_h
#define mozilla_pkix_pkixder_h
// Expect* functions advance the input mark and return Success if the input
// matches the given criteria; they fail with the input mark in an undefined
@ -631,4 +631,4 @@ Result SignedData(Reader& input, /*out*/ Reader& tbs,
} } } // namespace mozilla::pkix::der
#endif // mozilla_pkix__pkixder_h
#endif // mozilla_pkix_pkixder_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix__pkixutil_h
#define mozilla_pkix__pkixutil_h
#ifndef mozilla_pkix_pkixutil_h
#define mozilla_pkix_pkixutil_h
#include "pkixder.h"
@ -254,4 +254,4 @@ WrappedVerifySignedData(TrustDomain& trustDomain,
} } // namespace mozilla::pkix
#endif // mozilla_pkix__pkixutil_h
#endif // mozilla_pkix_pkixutil_h

View File

@ -21,8 +21,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef mozilla_pkix__pkixgtest_h
#define mozilla_pkix__pkixgtest_h
#ifndef mozilla_pkix_pkixgtest_h
#define mozilla_pkix_pkixgtest_h
#include <ostream>
@ -53,4 +53,4 @@ extern const std::time_t oneDayAfterNow;
} } } // namespace mozilla::pkix::test
#endif // mozilla_pkix__pkixgtest_h
#endif // mozilla_pkix_pkixgtest_h

View File

@ -22,8 +22,8 @@
* limitations under the License.
*/
#ifndef mozilla_pkix_test__pkixtestutils_h
#define mozilla_pkix_test__pkixtestutils_h
#ifndef mozilla_pkix_test_pkixtestutils_h
#define mozilla_pkix_test_pkixtestutils_h
#include <ctime>
#include <stdint.h> // Some Mozilla-supported compilers lack <cstdint>
@ -371,4 +371,4 @@ ByteString CreateEncodedOCSPResponse(OCSPResponseContext& context);
} } } // namespace mozilla::pkix::test
#endif // mozilla_pkix_test__pkixtestutils_h
#endif // mozilla_pkix_test_pkixtestutils_h