From 7534b3e68b1ce42d22ba3a8b64db80d336df6056 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sat, 6 Aug 2011 20:45:18 +0000 Subject: add some missing copyrights and tags --- freebsd/util.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'freebsd') diff --git a/freebsd/util.h b/freebsd/util.h index 5bab09f..5891f0f 100644 --- a/freebsd/util.h +++ b/freebsd/util.h @@ -1,3 +1,19 @@ +/* $xxxterm$ */ +/* + * Copyright (c) 2010 Marco Peereboom + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ /* * This file tries to make up for the difference between OpenBSD's * and FreeBSD's . @@ -6,6 +22,7 @@ /* * fmt_scaled(3) specific flags. (from OpenBSD util.h) */ + #define FMT_SCALED_STRSIZE 7 /* minus sign, 4 digits, suffix, null byte */ int fmt_scaled(long long number, char *result); -- cgit 1.4.1-2-gfad0