]> granicus.if.org Git - nethack/commitdiff
formatting bits in end.c
authorPatR <rankin@nethack.org>
Sat, 26 Feb 2022 08:24:17 +0000 (00:24 -0800)
committerPatR <rankin@nethack.org>
Sat, 26 Feb 2022 08:24:17 +0000 (00:24 -0800)
src/end.c

index cfebba812b30b65093b62606cbe3d06753425d30..e45ac2a96a3a81a4d4d6e6c591f5c937cff6f722 100644 (file)
--- a/src/end.c
+++ b/src/end.c
@@ -1095,10 +1095,10 @@ done_object_cleanup(void)
 
 /* called twice; first to calculate total, then to list relevant items */
 static void
-artifact_score(struct obj *list,
-               boolean counting, /* true => add up points;
-                                    false => display them */
-               winid endwin)
+artifact_score(
+    struct obj *list,
+    boolean counting, /* true => add up points; false => display them */
+    winid endwin)
 {
     char pbuf[BUFSZ];
     struct obj *otmp;
@@ -1683,9 +1683,13 @@ really_done(int how)
     nh_terminate(EXIT_SUCCESS);
 }
 
+/* used for disclosure and for the ':' choice when looting a container */
 void
-container_contents(struct obj *list, boolean identified,
-                   boolean all_containers, boolean reportempty)
+container_contents(
+    struct obj *list,
+    boolean identified,
+    boolean all_containers,
+    boolean reportempty)
 {
     register struct obj *box, *obj;
     char buf[BUFSZ];