113.0-1
[arch-packages.git] / libimobiledevice / trunk / libplist-2.3.0.diff
blob25f8d3d4787ea5a4d372badc1a0bf0f4f71a7108
1 diff --git i/common/utils.c w/common/utils.c
2 index 7f66ec2..7ebe997 100644
3 --- i/common/utils.c
4 +++ w/common/utils.c
5 @@ -314,7 +314,7 @@ int plist_read_from_filename(plist_t *plist, const char *filename)
6 return 1;
9 -int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format)
10 +int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format)
12 char *buffer = NULL;
13 uint32_t length;
14 diff --git i/common/utils.h w/common/utils.h
15 index 2c3acec..4faa5bd 100644
16 --- i/common/utils.h
17 +++ w/common/utils.h
18 @@ -51,13 +51,8 @@ char *generate_uuid(void);
19 void buffer_read_from_filename(const char *filename, char **buffer, uint64_t *length);
20 void buffer_write_to_filename(const char *filename, const char *buffer, uint64_t length);
22 -enum plist_format_t {
23 - PLIST_FORMAT_XML,
24 - PLIST_FORMAT_BINARY
25 -};
27 int plist_read_from_filename(plist_t *plist, const char *filename);
28 -int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format);
29 +int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format);
31 void plist_print_to_stream(plist_t plist, FILE* stream);