1246117Skib/*- 2246117Skib * Copyright (c) 2013 Konstantin Belousov <kib@FreeBSD.org> 3246117Skib * 4246117Skib * Redistribution and use in source and binary forms, with or without 5246117Skib * modification, are permitted provided that the following conditions 6246117Skib * are met: 7246117Skib * 1. Redistributions of source code must retain the above copyright 8246117Skib * notice, this list of conditions and the following disclaimer. 9246117Skib * 2. Redistributions in binary form must reproduce the above copyright 10246117Skib * notice, this list of conditions and the following disclaimer in the 11246117Skib * documentation and/or other materials provided with the distribution. 12246117Skib * 13246117Skib * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14246117Skib * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15246117Skib * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16246117Skib * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17246117Skib * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18246117Skib * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19246117Skib * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20246117Skib * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21246117Skib * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22246117Skib * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23246117Skib * SUCH DAMAGE. 24246117Skib */ 25246117Skib 26246117Skib#include <sys/cdefs.h> 27246117Skib__FBSDID("$FreeBSD: releng/10.3/lib/libc/mips/sys/__vdso_gettc.c 246117 2013-01-30 12:48:16Z kib $"); 28246117Skib 29246117Skib#include <sys/types.h> 30246117Skib#include <sys/time.h> 31246117Skib#include <sys/vdso.h> 32246117Skib#include <errno.h> 33246117Skib 34246117Skib#pragma weak __vdso_gettc 35246117Skibu_int 36246117Skib__vdso_gettc(const struct vdso_timehands *th) 37246117Skib{ 38246117Skib 39246117Skib return (0); 40246117Skib} 41246117Skib 42246117Skib#pragma weak __vdso_gettimekeep 43246117Skibint 44246117Skib__vdso_gettimekeep(struct vdso_timekeep **tk) 45246117Skib{ 46246117Skib 47246117Skib return (ENOSYS); 48246117Skib} 49