From dfc80bf956a344dcd185f6db2980af7919c52e0d Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 5 May 2021 15:00:19 -0400 Subject: Fix merge conflicts --- Makefile | 2 +- boggle/boggle/prtable.c | 12 ++++++------ upstream-commit | 2 +- warp/util.h | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index fbb0be58..4aa82ef0 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ config.h: update: TEMP=$$(mktemp -d); \ - cd ~/Documents/BSD/NetBSD; \ + cd ~/Documents/NetBSD; \ git format-patch -o $$TEMP $(shell cat upstream-commit) games; \ git rev-list HEAD -1 games/ > $(ROOT)/upstream-commit; \ cd $(ROOT); \ diff --git a/boggle/boggle/prtable.c b/boggle/boggle/prtable.c index 84421678..67d3484b 100644 --- a/boggle/boggle/prtable.c +++ b/boggle/boggle/prtable.c @@ -1,4 +1,4 @@ -/* $NetBSD: prtable.c,v 1.10 2013/10/19 17:23:08 christos Exp $ */ +/* $NetBSD: prtable.c,v 1.11 2021/05/02 12:50:43 rillig Exp $ */ /*- * Copyright (c) 1993 @@ -36,7 +36,7 @@ #include #ifndef lint -__RCSID("$NetBSD: prtable.c,v 1.10 2013/10/19 17:23:08 christos Exp $"); +__RCSID("$NetBSD: prtable.c,v 1.11 2021/05/02 12:50:43 rillig Exp $"); #endif /* not lint */ #include @@ -58,14 +58,14 @@ static int get_maxlen(const char *const [], int, int (*)(const char *const *, in * width - max line width if not zero * prentry - address of the routine to call to print the string * length - address of the routine to call to determine the length - * of string to be printed + * of string to be printed * * prtable and length are called with the address of the base and * an index */ void -prtable(const char *const base[], int num, int d_cols, int width, - void (*prentry)(const char *const [], int), +prtable(const char *const base[], int num, int d_cols, int width, + void (*prentry)(const char *const [], int), int (*length)(const char *const [], int)) { int c, j; @@ -114,7 +114,7 @@ prtable(const char *const base[], int num, int d_cols, int width, } static int -get_maxlen(const char *const base[], int num, +get_maxlen(const char *const base[], int num, int (*length)(const char *const *, int)) { int i, len, max; diff --git a/upstream-commit b/upstream-commit index 09b84e94..1fcb00de 100644 --- a/upstream-commit +++ b/upstream-commit @@ -1 +1 @@ -0655447cec1e22ba0b95a13d8f1b56cc4c2cb699 +9771de16f1f447976898449d1313d7cd84a6c990 diff --git a/warp/util.h b/warp/util.h index fae72785..a86f5c8d 100644 --- a/warp/util.h +++ b/warp/util.h @@ -3,7 +3,7 @@ /* Log: util.h,v * Revision 7.0 86/10/08 15:14:37 lwall * Split into separate files. Added amoebas and pirates. - * + * */ #include -- cgit v1.2.3-56-ge451