diff options
author | Miles Bader <miles@gnu.org> | 1995-07-08 23:01:28 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-07-08 23:01:28 +0000 |
commit | 3756a6c49c5666656f495ce5e8a8e2b7c600f184 (patch) | |
tree | 40611b6aa0c120d704a8fdd7d090af2966ad18e7 | |
parent | d9e968ebea1593d4621fb9c7b6058021f22340c5 (diff) |
(ports_create_class): Initialize the PORTS and COUNT fields.
-rw-r--r-- | libports/create-class.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libports/create-class.c b/libports/create-class.c index fe17f0ba..8a2d68b0 100644 --- a/libports/create-class.c +++ b/libports/create-class.c @@ -34,5 +34,8 @@ ports_create_class (void (*clean_routine)(void *), cl->dropweak_routine = dropweak_routine; cl->flags = 0; cl->rpcs = 0; + cl->ports = NULL; + cl->count = 0; + return cl; } |