13913be8kib/*-
23913be8kib * Copyright (c) 2013 Konstantin Belousov <kib@FreeBSD.org>
33913be8kib *
43913be8kib * Redistribution and use in source and binary forms, with or without
53913be8kib * modification, are permitted provided that the following conditions
63913be8kib * are met:
73913be8kib * 1. Redistributions of source code must retain the above copyright
83913be8kib *    notice, this list of conditions and the following disclaimer.
93913be8kib * 2. Redistributions in binary form must reproduce the above copyright
103913be8kib *    notice, this list of conditions and the following disclaimer in the
113913be8kib *    documentation and/or other materials provided with the distribution.
123913be8kib *
133913be8kib * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
143913be8kib * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
153913be8kib * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
163913be8kib * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
173913be8kib * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
183913be8kib * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
193913be8kib * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
203913be8kib * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
213913be8kib * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
223913be8kib * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
233913be8kib * SUCH DAMAGE.
243913be8kib */
253913be8kib
263913be8kib#include <sys/cdefs.h>
273913be8kib__FBSDID("$FreeBSD$");
283913be8kib
293913be8kib#include <sys/types.h>
303913be8kib#include <sys/time.h>
313913be8kib#include <sys/vdso.h>
323913be8kib#include <errno.h>
333913be8kib
343913be8kib#pragma weak __vdso_gettc
35e56264ckibint
36e56264ckib__vdso_gettc(const struct vdso_timehands *th, u_int *tc)
373913be8kib{
383913be8kib
39e56264ckib	return (ENOSYS);
403913be8kib}
413913be8kib
423913be8kib#pragma weak __vdso_gettimekeep
433913be8kibint
443913be8kib__vdso_gettimekeep(struct vdso_timekeep **tk)
453913be8kib{
463913be8kib
473913be8kib	return (ENOSYS);
483913be8kib}
49