Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
0eb033a6
Commit
0eb033a6
authored
Oct 25, 2012
by
Jelte Jansen
Browse files
[2357] clean up a few #endif comments
parent
5744cc1c
Changes
11
Hide whitespace changes
Inline
Side-by-side
src/lib/cryptolink/crypto_hmac.h
View file @
0eb033a6
...
...
@@ -205,5 +205,5 @@ void deleteHMAC(HMAC* hmac);
}
// namespace cryptolink
}
// namespace isc
#endif //
__
ISC_CRYPTO_HMAC
#endif // ISC_CRYPTO_HMAC
_H
src/lib/datasrc/memory_datasrc.h
View file @
0eb033a6
...
...
@@ -360,7 +360,7 @@ extern "C" void destroyInstance(DataSourceClient* instance);
}
}
#endif //
_
_DATA_SOURCE_
MEMORY_
H
#endif //
MEMORY
_DATA_SOURCE_H
// Local Variables:
// mode: c++
// End:
src/lib/datasrc/sqlite3_accessor.h
View file @
0eb033a6
...
...
@@ -291,7 +291,7 @@ extern "C" void destroyInstance(DataSourceClient* instance);
}
}
#endif //
__
DATASRC_SQLITE3_
CONNECTION
_H
#endif // DATASRC_SQLITE3_
ACCESSOR
_H
// Local Variables:
// mode: c++
...
...
src/lib/dns/rrtype-placeholder.h
View file @
0eb033a6
...
...
@@ -235,11 +235,11 @@ public:
///
/// \param other the \c RRType object to compare against.
/// \return true if the two RRTypes are not equal; otherwise false.
bool
nequals
(
const
RRType
&
other
)
const
bool
nequals
(
const
RRType
&
other
)
const
{
return
(
typecode_
!=
other
.
typecode_
);
}
/// \brief Same as \c nequals().
bool
operator
!=
(
const
RRType
&
other
)
const
{
return
(
nequals
(
other
));
}
/// \brief Less-than comparison for RRType against \c other
///
/// We define the less-than relationship based on their type codes;
...
...
@@ -319,6 +319,6 @@ operator<<(std::ostream& os, const RRType& rrtype);
}
#endif // RRTYPE_H
// Local Variables:
// Local Variables:
// mode: c++
// End:
// End:
src/lib/log/logger_specification.h
View file @
0eb033a6
...
...
@@ -146,11 +146,11 @@ private:
std
::
string
name_
;
///< Logger name
isc
::
log
::
Severity
severity_
;
///< Severity for this logger
int
dbglevel_
;
///< Debug level
bool
additive_
;
///< Chaining output
bool
additive_
;
///< Chaining output
std
::
vector
<
OutputOption
>
options_
;
///< Logger options
};
}
// namespace log
}
// namespace isc
#endif //
__
LOGGER_SPEC
_
IFICATIONH
#endif // LOGGER_SPECIFICATION
_
H
src/lib/python/isc/datasrc/datasrc.h
View file @
0eb033a6
...
...
@@ -43,7 +43,7 @@ extern PyObject* getDataSourceException(const char* ex_name);
}
// namespace datasrc
}
// namespace isc
#endif //
__
PYTHON_
ACL_DNS
_H
#endif // PYTHON_
DATASRC
_H
// Local Variables:
// mode: c++
...
...
src/lib/util/io_utilities.h
View file @
0eb033a6
...
...
@@ -101,4 +101,4 @@ writeUint32(uint32_t value, uint8_t* buffer) {
}
// namespace util
}
// namespace isc
#endif //
__ASIOLINK
_UTILITIES_H
#endif //
IO
_UTILITIES_H
src/lib/util/range_utilities.h
View file @
0eb033a6
...
...
@@ -65,4 +65,4 @@ fillRandom(Iterator begin, Iterator end) {
}
// end of isc::util namespace
}
// end of isc namespace
#endif //
__PKTINFO
_UTIL_H
_
#endif //
RANGE
_UTIL_H
src/lib/util/time_utilities.h
View file @
0eb033a6
...
...
@@ -32,7 +32,7 @@ namespace isc {
namespace
util
{
///
/// \brief A standard DNS (or ISC) module exception that is thrown if
/// \brief A standard DNS (or ISC) module exception that is thrown if
/// a time conversion function encounters bad input
///
class
InvalidTime
:
public
Exception
{
...
...
@@ -166,7 +166,7 @@ timeToText32(const uint32_t value);
}
}
#endif //
__DNSSECTIME
_H
#endif //
TIME_UTILITIES
_H
// Local Variables:
// mode: c++
...
...
src/lib/util/unittests/resource.h
View file @
0eb033a6
...
...
@@ -32,7 +32,7 @@ void dontCreateCoreDumps();
}
// end of namespace util
}
// end of namespace isc
#endif
/
* __
UTIL_UNITTESTS_RESOURCE_H
*/
#endif /
/
UTIL_UNITTESTS_RESOURCE_H
// Local Variables:
// mode: c++
...
...
tests/tools/perfdhcp/test_control.h
View file @
0eb033a6
...
...
@@ -97,7 +97,7 @@ static const size_t DHCPV6_IA_NA_OFFSET = 40;
/// accept 'start' and 'stop' arguments. The first time it is called, it is
/// called with the argument 'start' and the second time with the argument
/// 'stop'.
///
///
/// The application is executed by calling fork() to fork the current perfdhcp
/// process and then call execlp() to replace the current process image with
/// the new one.
...
...
@@ -987,4 +987,4 @@ private:
}
// namespace perfdhcp
}
// namespace isc
#endif //
__COMMAND_OPTIONS
_H
#endif //
TEST_CONTROL
_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment