summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rdate/ntpleaps.c
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2004-05-05 20:29:54 +0000
committerjakob <jakob@openbsd.org>2004-05-05 20:29:54 +0000
commit84d7fd2bfd1021165b1ed4010b73a3f2f6af611d (patch)
tree36370c84a2303d0567c2b55b7e4d37521d98977c /usr.sbin/rdate/ntpleaps.c
parentO_NOFOLLOW and O_SYNC are also valid flags to dbopen(3) (diff)
downloadwireguard-openbsd-84d7fd2bfd1021165b1ed4010b73a3f2f6af611d.tar.xz
wireguard-openbsd-84d7fd2bfd1021165b1ed4010b73a3f2f6af611d.zip
simplify license. ok author.
Diffstat (limited to 'usr.sbin/rdate/ntpleaps.c')
-rw-r--r--usr.sbin/rdate/ntpleaps.c42
1 files changed, 26 insertions, 16 deletions
diff --git a/usr.sbin/rdate/ntpleaps.c b/usr.sbin/rdate/ntpleaps.c
index 0ba1a4176e2..e880b1109e4 100644
--- a/usr.sbin/rdate/ntpleaps.c
+++ b/usr.sbin/rdate/ntpleaps.c
@@ -1,27 +1,37 @@
-/* $OpenBSD: ntpleaps.c,v 1.6 2002/08/10 21:37:28 jakob Exp $ */
+/* $OpenBSD: ntpleaps.c,v 1.7 2004/05/05 20:29:54 jakob Exp $ */
/*
- * Copyright (c) 2002 by Thorsten "mirabile" Glaser <x86@ePOST.de>
+ * Copyright (c) 2002 Thorsten Glaser. All rights reserved.
*
- * Permission is hereby granted to any person obtaining a copy of this work
- * to deal in the work, without restrictions, including unlimited rights to
- * use, copy, modify, merge, publish, distribute, sublicense or sell copies
- * of the work, and to permit persons to whom the work is furnished to also
- * do so, as long as due credit is given to the original author and contri-
- * butors, and the following disclaimer is kept in all substantial portions
- * of the work or accompanying documentation:
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * - 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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
+ * COPYRIGHT HOLDERS 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 work is provided "AS IS", without warranty of any kind, neither ex-
- * press nor implied, including, but not limited to, the warranties of mer-
- * chantability, fitness for particular purposes and noninfringement. In NO
- * event shall the author and contributors be liable for any claim, damages
- * and such, whether in contract, strict liability or otherwise, arising in
- * any way out of this work, even if advised of the possibility of such.
*/
/* Leap second support for NTP clients (generic) */
-static const char RCSId[] = "$OpenBSD: ntpleaps.c,v 1.6 2002/08/10 21:37:28 jakob Exp $";
+static const char RCSId[] = "$OpenBSD: ntpleaps.c,v 1.7 2004/05/05 20:29:54 jakob Exp $";
/*