From fe6275b539c812e06f8bc460d18e553a65738869 Mon Sep 17 00:00:00 2001 From: crc Date: Mon, 8 Jul 2019 12:34:29 +0000 Subject: [PATCH] minor cleanups FossilOrigin-Name: b2fc760da05c77407705f96fd4f0fdbfde76fe0899fc4a8f1642ab60cbc2dbaf --- Makefile | 4 ---- tools/strl.h | 20 -------------------- 2 files changed, 24 deletions(-) diff --git a/Makefile b/Makefile index d059bdb..97734f1 100644 --- a/Makefile +++ b/Makefile @@ -84,10 +84,6 @@ repl: bin/retro-repl retro-describe: bin/retro-describe -update: bin/retro-unu literate/Unu.md literate/Muri.md - ./bin/retro-unu literate/Unu.md >tools/unu.c - ./bin/retro-unu literate/Muri.md >tools/muri.c - # File targets. ngaImage: source/rx.muri source/retro.forth bin/retro-muri bin/retro-extend diff --git a/tools/strl.h b/tools/strl.h index 975c0c1..9f60f22 100644 --- a/tools/strl.h +++ b/tools/strl.h @@ -1,8 +1,6 @@ #include #include -/* $OpenBSD: strlcat.c,v 1.18 2016/10/16 17:37:39 dtucker Exp $ */ - /* * Copyright (c) 1998, 2015 Todd C. Miller * @@ -54,24 +52,6 @@ size_t bsd_strlcat(char *dst, const char *src, size_t dsize) return(dlen + (src - osrc)); /* count does not include NUL */ } -/* $OpenBSD: strlcpy.c,v 1.15 2016/10/16 17:37:39 dtucker Exp $ */ - -/* - * Copyright (c) 1998, 2015 Todd C. Miller - * - * 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. - */ - /* * Copy string src to buffer dst of size dsize. At most dsize-1