Trailing whitespace

This commit is contained in:
skrll 2022-06-23 09:48:00 +00:00
parent 56c7bffc6c
commit d5f19fad45
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: backtrace.c,v 1.6 2015/09/25 19:27:31 christos Exp $ */
/* $NetBSD: backtrace.c,v 1.7 2022/06/23 09:48:00 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: backtrace.c,v 1.6 2015/09/25 19:27:31 christos Exp $");
__RCSID("$NetBSD: backtrace.c,v 1.7 2022/06/23 09:48:00 skrll Exp $");
#include <sys/param.h>
#include <assert.h>
@ -93,7 +93,7 @@ rasprintf(char **buf, size_t *bufsiz, size_t offs, const char *fmt, ...)
nbufsiz = MAX(*bufsiz + 512, (size_t)len + 1);
} else
nbufsiz = MAX(offs, *bufsiz) + 512;
nbuf = realloc(*buf, nbufsiz);
if (nbuf == NULL)
return -1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: symtab.c,v 1.5 2016/04/20 14:00:16 christos Exp $ */
/* $NetBSD: symtab.c,v 1.6 2022/06/23 09:48:00 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: symtab.c,v 1.5 2016/04/20 14:00:16 christos Exp $");
__RCSID("$NetBSD: symtab.c,v 1.6 2022/06/23 09:48:00 skrll Exp $");
#include <stdlib.h>
#include <stdio.h>
@ -142,7 +142,7 @@ symtab_create(int fd, int bind, int type)
(uintmax_t)sym.st_value, ELF_ST_BIND(sym.st_info),
ELF_ST_TYPE(sym.st_info));
#endif
if (bind != -1 &&
(unsigned)bind != ELF_ST_BIND(sym.st_info))
continue;
@ -177,7 +177,7 @@ out:
return NULL;
}
int
symtab_find(const symtab_t *st, const void *p, Dl_info *dli)
{