aboutsummaryrefslogtreecommitdiff
path: root/src/rc/swclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/swclock.c')
-rw-r--r--src/rc/swclock.c41
1 files changed, 14 insertions, 27 deletions
diff --git a/src/rc/swclock.c b/src/rc/swclock.c
index 0fb518b5..2c7e8b8e 100644
--- a/src/rc/swclock.c
+++ b/src/rc/swclock.c
@@ -1,34 +1,21 @@
/*
- swclock.c
- Sets the system time from the mtime of the given file.
- This is useful for systems who do not have a working RTC and rely on ntp.
- OpenRC relies on the correct system time for a lot of operations so this is needed
- quite early.
-*/
+ * swclock.c
+ * Sets the system time from the mtime of the given file.
+ * This is useful for systems who do not have a working RTC and rely on ntp.
+ * OpenRC relies on the correct system time for a lot of operations
+ * so this is needed quite early.
+ */
/*
- * Copyright (c) 2009 Roy Marples <roy@marples.name>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
+ * Copyright (c) 2007-2015 The OpenRC Authors.
+ * See the Authors file at the top-level directory of this distribution and
+ * https://github.com/OpenRC/openrc/blob/master/AUTHORS
*
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * This file is part of OpenRC. It is subject to the license terms in
+ * the LICENSE file found in the top-level directory of this
+ * distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+ * This file may not be copied, modified, propagated, or distributed
+ * except according to the terms contained in the LICENSE file.
*/
#include <sys/time.h>