diff options
author | Jonathan Beck | 2008-12-13 16:16:58 +0100 |
---|---|---|
committer | Jonathan Beck | 2008-12-13 16:16:58 +0100 |
commit | c39685d3a87858e7ad8ada0da2798aaf670969b4 (patch) | |
tree | 743a653c4e29209b851d9602912aa5a74e9ef687 /src/plist.h | |
parent | e220e2cf08809a6a8853a8c9c7b06cef4e90cb57 (diff) | |
download | libplist-c39685d3a87858e7ad8ada0da2798aaf670969b4.tar.gz libplist-c39685d3a87858e7ad8ada0da2798aaf670969b4.tar.bz2 |
Refine API and fix some warnings.
Diffstat (limited to 'src/plist.h')
-rw-r--r-- | src/plist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plist.h b/src/plist.h index ca3201a..b7c74d9 100644 --- a/src/plist.h +++ b/src/plist.h @@ -49,10 +49,10 @@ struct plist_data_s { plist_type type; }; -typedef struct plist_data_s* plist_data_t; +typedef struct plist_data_s *plist_data_t; plist_t plist_new_node(plist_data_t data); -plist_data_t plist_get_data(plist_t node); +plist_data_t plist_get_data(const plist_t node); plist_data_t plist_new_plist_data(); void plist_free_plist_data(plist_data_t node); |