minor cleanups

FossilOrigin-Name: b2fc760da05c77407705f96fd4f0fdbfde76fe0899fc4a8f1642ab60cbc2dbaf
This commit is contained in:
crc 2019-07-08 12:34:29 +00:00
parent b9ceeecd63
commit fe6275b539
2 changed files with 0 additions and 24 deletions

View file

@ -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

View file

@ -1,8 +1,6 @@
#include <sys/types.h>
#include <string.h>
/* $OpenBSD: strlcat.c,v 1.18 2016/10/16 17:37:39 dtucker Exp $ */
/*
* Copyright (c) 1998, 2015 Todd C. Miller <Todd.Miller@courtesan.com>
*
@ -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 <Todd.Miller@courtesan.com>
*
* 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