diff options
| author | christos <christos@NetBSD.org> | 2017-05-05 12:21:28 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2017-05-05 12:21:28 +0000 |
| commit | 159f105b3f4c2cd1be578aca350c0d9c0da302ea (patch) | |
| tree | f7c1d58ddd676731da03a40503f0f6c97f080448 /usr.bin/tic | |
| parent | 9fd46966cfda8ac749477db9432639c70cda802e (diff) | |
fix the tools build. reported by Utkarsh Anand
Diffstat (limited to 'usr.bin/tic')
| -rw-r--r-- | usr.bin/tic/tic.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c index a21e06a7c16..901afbd9957 100644 --- a/usr.bin/tic/tic.c +++ b/usr.bin/tic/tic.c @@ -1,4 +1,4 @@ -/* $NetBSD: tic.c,v 1.29 2017/05/04 14:07:33 roy Exp $ */ +/* $NetBSD: tic.c,v 1.30 2017/05/05 12:21:28 christos Exp $ */ /* * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #endif #include <sys/cdefs.h> -__RCSID("$NetBSD: tic.c,v 1.29 2017/05/04 14:07:33 roy Exp $"); +__RCSID("$NetBSD: tic.c,v 1.30 2017/05/05 12:21:28 christos Exp $"); #include <sys/types.h> #include <sys/queue.h> @@ -587,7 +587,13 @@ main(int argc, char **argv) free(term->name); free(term); } +#ifndef HAVE_NBTOOL_CONFIG_H + /* + * hdestroy1 is not standard but we don't really care if we + * leak in the tools version + */ hdestroy1(free, NULL); +#endif return EXIT_SUCCESS; } |
