diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-12-04 16:06:42 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-12-04 16:11:56 +0100 |
commit | 201f5795a26ae7b5580a35b24f4e89e5cd3455b1 (patch) | |
tree | a4c8f225beaa20e94a9f7116977ed924017fecb1 /libkms/libkms.h | |
parent | 8c0571a73399c372644c8d92a136a474f3e05d48 (diff) |
libkms: Change destroy api a bit
Diffstat (limited to 'libkms/libkms.h')
-rw-r--r-- | libkms/libkms.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkms/libkms.h b/libkms/libkms.h index 9cc8ae21..eb2ed893 100644 --- a/libkms/libkms.h +++ b/libkms/libkms.h @@ -58,12 +58,12 @@ enum kms_bo_type int kms_create(int fd, struct kms_driver **out); int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out); -int kms_destroy(struct kms_driver *kms); +int kms_destroy(struct kms_driver **kms); int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out); int kms_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out); int kms_bo_map(struct kms_bo *bo, void **out); int kms_bo_unmap(struct kms_bo *bo); -int kms_bo_destroy(struct kms_bo *bo); +int kms_bo_destroy(struct kms_bo **bo); #endif |