Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make: indent inline functions for lists
details: https://anonhg.NetBSD.org/src/rev/a1a1307d3747
branches: trunk
changeset: 960348:a1a1307d3747
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Mar 15 16:06:05 2021 +0000
description:
make: indent inline functions for lists
No functional change.
diffstat:
usr.bin/make/lst.h | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 439d7a2da26e -r a1a1307d3747 usr.bin/make/lst.h
--- a/usr.bin/make/lst.h Mon Mar 15 16:00:05 2021 +0000
+++ b/usr.bin/make/lst.h Mon Mar 15 16:06:05 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lst.h,v 1.96 2021/02/01 18:55:15 rillig Exp $ */
+/* $NetBSD: lst.h,v 1.97 2021/03/15 16:06:05 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -118,15 +118,17 @@
MAKE_INLINE void
Lst_Init(List *list)
{
- list->first = NULL;
- list->last = NULL;
+ list->first = NULL;
+ list->last = NULL;
}
/* Get information about a list */
MAKE_INLINE Boolean
Lst_IsEmpty(List *list)
-{ return list->first == NULL; }
+{
+ return list->first == NULL;
+}
/* Find the first node that contains the given datum, or NULL. */
ListNode *Lst_FindDatum(List *, const void *);
Home |
Main Index |
Thread Index |
Old Index