blob: c3d2e0b349f369f8b726e160f2ac8e2c77673d07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-sort.c,v 1.1 2016/07/27 20:37:27 kamil Exp $
Fix K&R code.
--- sort.c.orig 2016-07-27 20:12:55.361585478 +0000
+++ sort.c
@@ -14,9 +14,8 @@ char sort_RCSid[] = "Revision: 1.2 $";
#include "agm.h"
-merge_sort (start, length)
- struct wnode **start;
- int length;
+void
+merge_sort (struct wnode **start, int length)
{
struct wnode *p, *q, *s1, *s2;
int i, cmp;
|