Now that isc_stdtime_get() macro is unused, remove it from the header
file.
*\li #ISC_R_NOMEMORY insufficient resources
*\li #DNS_R_ALIAS 'name' is an alias for another name.
*
- * Calls, and returns error codes from:
- *
- *\li isc_stdtime_get()
- *
* Notes:
*
*\li No internal reference to "name" exists after this function
/*
* Adjust the time to the closest epoch. This should be changed
- * to use a 64-bit counterpart to isc_stdtime_get() if one ever
+ * to use a 64-bit counterpart to isc_stdtime_now() if one ever
* is defined, but even the current code is good until the year
* 2106.
*/
typedef uint32_t isc_stdtime_t;
ISC_LANG_BEGINDECLS
-/* */
+
isc_stdtime_t
isc_stdtime_now(void);
/*%<
* Return the number of seconds since 00:00:00 UTC, January 1, 1970.
*/
-/* Compatibility macro */
-#define isc_stdtime_get(tp) \
- { \
- REQUIRE(tp != NULL); \
- *tp = isc_stdtime_now(); \
- }
-
void
isc_stdtime_tostring(isc_stdtime_t t, char *out, size_t outlen);
/*
#define KEEP_BEFORE
/*
- * Fix the linking order problem for overridden isc_stdtime_get() by making
+ * Fix the linking order problem for overridden isc_stdtime_now() by making
* everything local. This also allows static functions from update.c to be
* tested.
*/