diff options
author | Marco Peereboom <marco@conformal.com> | 2011-08-06 20:45:18 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-08-06 20:45:18 +0000 |
commit | 7534b3e68b1ce42d22ba3a8b64db80d336df6056 (patch) | |
tree | 8527fd1fc8f904bd608cab388db80266b9050828 /freebsd | |
parent | 8cabba8aa6d8fd6961d938c77ae040a6146b9219 (diff) | |
download | xombrero-7534b3e68b1ce42d22ba3a8b64db80d336df6056.tar.gz |
add some missing copyrights and tags
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/util.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <marco@peereboom.us> + * + * 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 * <util.h> and FreeBSD's <libutil.h>. @@ -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); |