7da5ddc215
with SunPro.
15 lines
443 B
Text
15 lines
443 B
Text
$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) \
|
|
{ \
|