#define	LIBTEST_SOURCE		/* suppress 64-bit declaration of thyme() */

#include <test.h>

#define	thyme	compat_thyme

#include "compat_thyme.h"

__asm(".symver compat_thyme,thyme@TEST_BASE");
int32_t
thyme(int32_t *p)
{
	int32_t t = __thyme00(0) & 0xffffffff;

	if (p)
		*p = t;
	return t;
}