pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bmake/files Avoid warnings about implicit declar...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3fabf26230bd
branches: trunk
changeset: 375450:3fabf26230bd
user: khorben <khorben%pkgsrc.org@localhost>
date: Sun Feb 11 17:34:54 2018 +0000
description:
Avoid warnings about implicit declaration of function 'ffs'
Besides addressing these warnings, this patch should not modify the resulting
binary in any way. There should be no need to re-compile or bump any version or
revision.
Compile-tested on NetBSD/amd64. "Should be ok" joerg@
diffstat:
devel/bmake/files/make.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 8f739b3af935 -r 3fabf26230bd devel/bmake/files/make.h
--- a/devel/bmake/files/make.h Sun Feb 11 17:06:39 2018 +0000
+++ b/devel/bmake/files/make.h Sun Feb 11 17:34:54 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.8 2015/05/19 22:01:19 joerg Exp $ */
+/* $NetBSD: make.h,v 1.9 2018/02/11 17:34:54 khorben Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -92,7 +92,8 @@
#include <stdlib.h>
#ifdef HAVE_STRING_H
#include <string.h>
-#else
+#endif
+#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <unistd.h>
Home |
Main Index |
Thread Index |
Old Index