Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Need <stdbool.h> for true/false.



details:   https://anonhg.NetBSD.org/src/rev/317bff55fe26
branches:  trunk
changeset: 813793:317bff55fe26
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Feb 19 03:53:46 2016 +0000

description:
Need <stdbool.h> for true/false.

diffstat:

 libexec/lfs_cleanerd/lfs_cleanerd.c |  3 ++-
 sbin/fsck_lfs/lfs.c                 |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 18c3f7b6e733 -r 317bff55fe26 libexec/lfs_cleanerd/lfs_cleanerd.c
--- a/libexec/lfs_cleanerd/lfs_cleanerd.c       Fri Feb 19 03:43:42 2016 +0000
+++ b/libexec/lfs_cleanerd/lfs_cleanerd.c       Fri Feb 19 03:53:46 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_cleanerd.c,v 1.55 2015/10/15 06:25:04 dholland Exp $    */
+/* $NetBSD: lfs_cleanerd.c,v 1.56 2016/02/19 03:54:37 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -45,6 +45,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <semaphore.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff -r 18c3f7b6e733 -r 317bff55fe26 sbin/fsck_lfs/lfs.c
--- a/sbin/fsck_lfs/lfs.c       Fri Feb 19 03:43:42 2016 +0000
+++ b/sbin/fsck_lfs/lfs.c       Fri Feb 19 03:53:46 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs.c,v 1.69 2015/10/15 06:24:55 dholland Exp $ */
+/* $NetBSD: lfs.c,v 1.70 2016/02/19 03:53:46 riastradh Exp $ */
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -80,6 +80,7 @@
 #include <err.h>
 #include <errno.h>
 #include <stdarg.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index