Blame rt/clock_settime.c

Packit Service 562438
/* Set a clock to a given value.  Stub version.
Packit Service 562438
   Copyright (C) 1999-2018 Free Software Foundation, Inc.
Packit Service 799296
   This file is part of the GNU C Library.
Packit Service 799296
Packit Service 799296
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 799296
   modify it under the terms of the GNU Lesser General Public
Packit Service 799296
   License as published by the Free Software Foundation; either
Packit Service 799296
   version 2.1 of the License, or (at your option) any later version.
Packit Service 799296
Packit Service 799296
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 799296
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 799296
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 799296
   Lesser General Public License for more details.
Packit Service 799296
Packit Service 799296
   You should have received a copy of the GNU Lesser General Public
Packit Service 799296
   License along with the GNU C Library; if not, see
Packit Service 562438
   <http://www.gnu.org/licenses/>.  */
Packit Service 799296
Packit Service 562438
#include <errno.h>
Packit Service 562438
#include <time.h>
Packit Service 799296
Packit Service 562438
/* Set CLOCK to value TP.  */
Packit Service 799296
int
Packit Service 562438
__clock_settime (clockid_t clock_id, const struct timespec *tp)
Packit Service 799296
{
Packit Service 562438
  __set_errno (ENOSYS);
Packit Service 562438
  return -1;
Packit Service 799296
}
Packit Service 562438
weak_alias (__clock_settime, clock_settime)
Packit Service 562438
stub_warning (clock_settime)