Module Name: src
Committed By: rillig
Date: Mon Mar 15 16:06:05 UTC 2021
Modified Files:
src/usr.bin/make: lst.h
Log Message:
make: indent inline functions for lists
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/usr.bin/make/lst.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/lst.h
diff -u src/usr.bin/make/lst.h:1.96 src/usr.bin/make/lst.h:1.97
--- src/usr.bin/make/lst.h:1.96 Mon Feb 1 18:55:15 2021
+++ src/usr.bin/make/lst.h Mon Mar 15 16:06:05 2021
@@ -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 @@ void Lst_Free(List *);
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 *);