setdate.c (3eb66e91a25497065c5322b1268cbc3953642227) | setdate.c (c942fddf8793b2013be8c901b47d0a8dc02bf99f) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later |
|
1/* Real Time Clock Driver Test 2 * by: Benjamin Gaignard (benjamin.gaignard@linaro.org) 3 * 4 * To build 5 * gcc rtctest_setdate.c -o rtctest_setdate | 2/* Real Time Clock Driver Test 3 * by: Benjamin Gaignard (benjamin.gaignard@linaro.org) 4 * 5 * To build 6 * gcc rtctest_setdate.c -o rtctest_setdate |
6 * 7 * This program is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. | |
16 */ 17 18#include <stdio.h> 19#include <linux/rtc.h> 20#include <sys/ioctl.h> 21#include <sys/time.h> 22#include <sys/types.h> 23#include <fcntl.h> --- 63 unchanged lines hidden --- | 7 */ 8 9#include <stdio.h> 10#include <linux/rtc.h> 11#include <sys/ioctl.h> 12#include <sys/time.h> 13#include <sys/types.h> 14#include <fcntl.h> --- 63 unchanged lines hidden --- |