blob: d66db3f5d02824f3dc1b16e584a27f63d1555165 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ba,v 1.1 2006/01/18 23:24:12 rillig Exp $
SunPro says: void functions cannot return a value.
--- src/array.h.orig 2001-08-16 00:46:35.000000000 +0200
+++ src/array.h 2006-01-16 14:13:15.764481600 +0100
@@ -50,7 +50,7 @@ type *name ## _extend(name a, int by) \
} \
void name ## _reset(name a) \
{ \
- return array_reset((struct array *)a); \
+ array_reset((struct array *)a); \
} \
size_t name ## _length(name a) \
{ \
|