aboutsummaryrefslogtreecommitdiff
path: root/prototype.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-11-28 22:05:45 +0100
committerPetr Machata <pmachata@redhat.com>2013-03-08 22:55:26 +0100
commitf7650d1e1c09e360a0cd27ee99b051cc9b127091 (patch)
treec1d60166c166f7c660eee0b03f57dd4d2c90a102 /prototype.h
parent3f55bc8b8cdc0c795462c007b651b04ac354f96c (diff)
downloadltrace-f7650d1e1c09e360a0cd27ee99b051cc9b127091.tar.gz
Port prototype module to new dictionary
Diffstat (limited to 'prototype.h')
-rw-r--r--prototype.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/prototype.h b/prototype.h
index 0181f32..6c46090 100644
--- a/prototype.h
+++ b/prototype.h
@@ -88,15 +88,14 @@ struct protolib {
struct vect imports;
/* Dictionary of name->struct prototype. */
- struct dict *prototypes;
+ struct dict prototypes;
/* Dictionary of name->struct named_type. */
- struct dict *named_types;
+ struct dict named_types;
};
-/* Initialize PLIB. Returns 0 on success or a negative value on
- * failure. */
-int protolib_init(struct protolib *plib);
+/* Initialize PLIB. */
+void protolib_init(struct protolib *plib);
/* Destroy PLIB. */
void protolib_destroy(struct protolib *plib);