diff options
33 files changed, 84 insertions, 65 deletions
diff --git a/include/asprintf.h b/include/asprintf.h index 65957e0..ce26aed 100644 --- a/include/asprintf.h +++ b/include/asprintf.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #ifndef ASPRINTF_H | 1 | #ifndef __ASPRINTF_H |
| 2 | #define ASPRINTF_H | 2 | #define __ASPRINTF_H |
| 3 | 3 | ||
| 4 | #ifdef HAVE_CONFIG_H | 4 | #ifdef HAVE_CONFIG_H |
| 5 | #include <config.h> | 5 | #include <config.h> |
diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h index 1b4ad5b..df3aaa6 100644 --- a/include/libimobiledevice/afc.h +++ b/include/libimobiledevice/afc.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef AFC_H | 23 | #ifndef IAFC_H |
| 24 | #define AFC_H | 24 | #define IAFC_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
diff --git a/include/libimobiledevice/house_arrest.h b/include/libimobiledevice/house_arrest.h index 171bc5f..f12be26 100644 --- a/include/libimobiledevice/house_arrest.h +++ b/include/libimobiledevice/house_arrest.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef HOUSE_ARREST_H | 23 | #ifndef IHOUSE_ARREST_H |
| 24 | #define HOUSE_ARREST_H | 24 | #define IHOUSE_ARREST_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h index 6a20c0b..049c0d7 100644 --- a/include/libimobiledevice/installation_proxy.h +++ b/include/libimobiledevice/installation_proxy.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef INSTALLATION_PROXY_H | 23 | #ifndef IINSTALLATION_PROXY_H |
| 24 | #define INSTALLATION_PROXY_H | 24 | #define IINSTALLATION_PROXY_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h index f7b747a..06363bd 100644 --- a/include/libimobiledevice/libimobiledevice.h +++ b/include/libimobiledevice/libimobiledevice.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef LIBIMOBILEDEVICE_H | 23 | #ifndef IMOBILEDEVICE_H |
| 24 | #define LIBIMOBILEDEVICE_H | 24 | #define IMOBILEDEVICE_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
diff --git a/include/libimobiledevice/lockdown.h b/include/libimobiledevice/lockdown.h index 287d3f6..8d1b324 100644 --- a/include/libimobiledevice/lockdown.h +++ b/include/libimobiledevice/lockdown.h | |||
| @@ -21,8 +21,8 @@ | |||
| 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #ifndef LOCKDOWN_H | 24 | #ifndef ILOCKDOWN_H |
| 25 | #define LOCKDOWN_H | 25 | #define ILOCKDOWN_H |
| 26 | 26 | ||
| 27 | #ifdef __cplusplus | 27 | #ifdef __cplusplus |
| 28 | extern "C" { | 28 | extern "C" { |
diff --git a/include/libimobiledevice/misagent.h b/include/libimobiledevice/misagent.h index 3adfd9d..bf6985f 100644 --- a/include/libimobiledevice/misagent.h +++ b/include/libimobiledevice/misagent.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef MISAGENT_H | 23 | #ifndef IMISAGENT_H |
| 24 | #define MISAGENT_H | 24 | #define IMISAGENT_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
diff --git a/include/libimobiledevice/mobile_image_mounter.h b/include/libimobiledevice/mobile_image_mounter.h index a9f500d..6aee1e7 100644 --- a/include/libimobiledevice/mobile_image_mounter.h +++ b/include/libimobiledevice/mobile_image_mounter.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef MOBILE_IMAGE_MOUNTER_H | 23 | #ifndef IMOBILE_IMAGE_MOUNTER_H |
| 24 | #define MOBILE_IMAGE_MOUNTER_H | 24 | #define IMOBILE_IMAGE_MOUNTER_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h index 3f883e5..c683564 100644 --- a/include/libimobiledevice/notification_proxy.h +++ b/include/libimobiledevice/notification_proxy.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef NOTIFICATION_PROXY_H | 23 | #ifndef INOTIFICATION_PROXY_H |
| 24 | #define NOTIFICATION_PROXY_H | 24 | #define INOTIFICATION_PROXY_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
diff --git a/include/libimobiledevice/restore.h b/include/libimobiledevice/restore.h index a895a7f..584adb4 100644 --- a/include/libimobiledevice/restore.h +++ b/include/libimobiledevice/restore.h | |||
| @@ -21,8 +21,8 @@ | |||
| 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #ifndef RESTORE_H | 24 | #ifndef IRESTORE_H |
| 25 | #define RESTORE_H | 25 | #define IRESTORE_H |
| 26 | 26 | ||
| 27 | #ifdef __cplusplus | 27 | #ifdef __cplusplus |
| 28 | extern "C" { | 28 | extern "C" { |
diff --git a/include/libimobiledevice/sbservices.h b/include/libimobiledevice/sbservices.h index 55d8b93..93bb496 100644 --- a/include/libimobiledevice/sbservices.h +++ b/include/libimobiledevice/sbservices.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef SB_SERVICES_H | 23 | #ifndef ISB_SERVICES_H |
| 24 | #define SB_SERVICES_H | 24 | #define ISB_SERVICES_H |
| 25 | 25 | ||
| 26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
| 27 | extern "C" { | 27 | extern "C" { |
| @@ -19,6 +19,9 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __AFC_H | ||
| 23 | #define __AFC_H | ||
| 24 | |||
| 22 | #include <stdint.h> | 25 | #include <stdint.h> |
| 23 | #ifdef WIN32 | 26 | #ifdef WIN32 |
| 24 | #include <windows.h> | 27 | #include <windows.h> |
| @@ -99,3 +102,4 @@ enum { | |||
| 99 | AFC_OP_SET_FILE_TIME = 0x0000001E /* set st_mtime */ | 102 | AFC_OP_SET_FILE_TIME = 0x0000001E /* set st_mtime */ |
| 100 | }; | 103 | }; |
| 101 | 104 | ||
| 105 | #endif | ||
diff --git a/src/debug.h b/src/debug.h index cb1bf97..b7cff80 100644 --- a/src/debug.h +++ b/src/debug.h | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef DEBUG_H | 23 | #ifndef __DEBUG_H |
| 24 | #define DEBUG_H | 24 | #define __DEBUG_H |
| 25 | 25 | ||
| 26 | #include <plist/plist.h> | 26 | #include <plist/plist.h> |
| 27 | 27 | ||
diff --git a/src/device_link_service.h b/src/device_link_service.h index d625341..2469877 100644 --- a/src/device_link_service.h +++ b/src/device_link_service.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef DEVICE_LINK_SERVICE_H | 21 | |
| 22 | #define DEVICE_LINK_SERVICE_H | 22 | #ifndef __DEVICE_LINK_SERVICE_H |
| 23 | #define __DEVICE_LINK_SERVICE_H | ||
| 23 | 24 | ||
| 24 | #include "property_list_service.h" | 25 | #include "property_list_service.h" |
| 25 | 26 | ||
diff --git a/src/diagnostics_relay.h b/src/diagnostics_relay.h index 2a9eb1a..eb1a21b 100644 --- a/src/diagnostics_relay.h +++ b/src/diagnostics_relay.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef DIAGNOSTICS_RELAY_H | 21 | |
| 22 | #define DIAGNOSTICS_RELAY_H | 22 | #ifndef __DIAGNOSTICS_RELAY_H |
| 23 | #define __DIAGNOSTICS_RELAY_H | ||
| 23 | 24 | ||
| 24 | #include "libimobiledevice/diagnostics_relay.h" | 25 | #include "libimobiledevice/diagnostics_relay.h" |
| 25 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
diff --git a/src/file_relay.h b/src/file_relay.h index 5e5bb36..c476a38 100644 --- a/src/file_relay.h +++ b/src/file_relay.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef FILE_RELAY_H | 21 | |
| 22 | #define FILE_RELAY_H | 22 | #ifndef __FILE_RELAY_H |
| 23 | #define __FILE_RELAY_H | ||
| 23 | 24 | ||
| 24 | #include "libimobiledevice/file_relay.h" | 25 | #include "libimobiledevice/file_relay.h" |
| 25 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
diff --git a/src/heartbeat.h b/src/heartbeat.h index f2e9aa3..84e27fe 100644 --- a/src/heartbeat.h +++ b/src/heartbeat.h | |||
| @@ -19,8 +19,8 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef HEARTBEAT_H | 22 | #ifndef __HEARTBEAT_H |
| 23 | #define HEARTBEAT_H | 23 | #define __HEARTBEAT_H |
| 24 | 24 | ||
| 25 | #include "libimobiledevice/heartbeat.h" | 25 | #include "libimobiledevice/heartbeat.h" |
| 26 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
diff --git a/src/house_arrest.h b/src/house_arrest.h index 708f1b5..f050213 100644 --- a/src/house_arrest.h +++ b/src/house_arrest.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef IHOUSE_ARREST_H | 21 | |
| 22 | #define IHOUSE_ARREST_H | 22 | #ifndef __HOUSE_ARREST_H |
| 23 | #define __HOUSE_ARREST_H | ||
| 23 | 24 | ||
| 24 | #include "libimobiledevice/house_arrest.h" | 25 | #include "libimobiledevice/house_arrest.h" |
| 25 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
diff --git a/src/idevice.h b/src/idevice.h index 130d11e..0833090 100644 --- a/src/idevice.h +++ b/src/idevice.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef IDEVICE_H | 21 | |
| 22 | #define IDEVICE_H | 22 | #ifndef __DEVICE_H |
| 23 | #define __DEVICE_H | ||
| 23 | 24 | ||
| 24 | #ifdef HAVE_CONFIG_H | 25 | #ifdef HAVE_CONFIG_H |
| 25 | #include <config.h> | 26 | #include <config.h> |
diff --git a/src/installation_proxy.h b/src/installation_proxy.h index 642968d..40175a0 100644 --- a/src/installation_proxy.h +++ b/src/installation_proxy.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef IINSTALLATION_PROXY_H | 21 | |
| 22 | #define IINSTALLATION_PROXY_H | 22 | #ifndef __INSTALLATION_PROXY_H |
| 23 | #define __INSTALLATION_PROXY_H | ||
| 23 | 24 | ||
| 24 | #ifdef WIN32 | 25 | #ifdef WIN32 |
| 25 | #include <windows.h> | 26 | #include <windows.h> |
diff --git a/src/lockdown.h b/src/lockdown.h index 289053a..59b1659 100644 --- a/src/lockdown.h +++ b/src/lockdown.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * lockdownd.h | 2 | * lockdown.h |
| 3 | * Defines lockdown stuff, like the client struct. | 3 | * Defines lockdown stuff, like the client struct. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2008 Zach C. All Rights Reserved. | 5 | * Copyright (c) 2008 Zach C. All Rights Reserved. |
| @@ -19,8 +19,8 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef LOCKDOWND_H | 22 | #ifndef __LOCKDOWND_H |
| 23 | #define LOCKDOWND_H | 23 | #define __LOCKDOWND_H |
| 24 | 24 | ||
| 25 | #include "userpref.h" | 25 | #include "userpref.h" |
| 26 | 26 | ||
diff --git a/src/misagent.h b/src/misagent.h index 00f5ad1..b5035f1 100644 --- a/src/misagent.h +++ b/src/misagent.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef IMISAGENT_H | 21 | |
| 22 | #define IMISAGENT_H | 22 | #ifndef __MISAGENT_H |
| 23 | #define __MISAGENT_H | ||
| 23 | 24 | ||
| 24 | #include "libimobiledevice/misagent.h" | 25 | #include "libimobiledevice/misagent.h" |
| 25 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
diff --git a/src/mobile_image_mounter.h b/src/mobile_image_mounter.h index ff0690d..4056dc8 100644 --- a/src/mobile_image_mounter.h +++ b/src/mobile_image_mounter.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef IMOBILE_IMAGE_MOUNTER_H | 21 | |
| 22 | #define IMOBILE_IMAGE_MOUNTER_H | 22 | #ifndef __MOBILE_IMAGE_MOUNTER_H |
| 23 | #define __MOBILE_IMAGE_MOUNTER_H | ||
| 23 | 24 | ||
| 24 | #ifdef WIN32 | 25 | #ifdef WIN32 |
| 25 | #include <windows.h> | 26 | #include <windows.h> |
diff --git a/src/mobilebackup.h b/src/mobilebackup.h index 2c5be62..a373105 100644 --- a/src/mobilebackup.h +++ b/src/mobilebackup.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef MOBILEBACKUP_H | 21 | |
| 22 | #define MOBILEBACKUP_H | 22 | #ifndef __MOBILEBACKUP_H |
| 23 | #define __MOBILEBACKUP_H | ||
| 23 | 24 | ||
| 24 | #include "libimobiledevice/mobilebackup.h" | 25 | #include "libimobiledevice/mobilebackup.h" |
| 25 | #include "device_link_service.h" | 26 | #include "device_link_service.h" |
diff --git a/src/mobilebackup2.h b/src/mobilebackup2.h index f96e400..66d4a42 100644 --- a/src/mobilebackup2.h +++ b/src/mobilebackup2.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef MOBILEBACKUP2_H | 21 | |
| 22 | #define MOBILEBACKUP2_H | 22 | #ifndef __MOBILEBACKUP2_H |
| 23 | #define __MOBILEBACKUP2_H | ||
| 23 | 24 | ||
| 24 | #include "libimobiledevice/mobilebackup2.h" | 25 | #include "libimobiledevice/mobilebackup2.h" |
| 25 | #include "device_link_service.h" | 26 | #include "device_link_service.h" |
diff --git a/src/mobilesync.h b/src/mobilesync.h index 24e61af..b0e7d4c 100644 --- a/src/mobilesync.h +++ b/src/mobilesync.h | |||
| @@ -19,8 +19,9 @@ | |||
| 19 | * License along with this library; if not, write to the Free Software | 19 | * License along with this library; if not, write to the Free Software |
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | #ifndef MOBILESYNC_H | 22 | |
| 23 | #define MOBILESYNC_H | 23 | #ifndef __MOBILESYNC_H |
| 24 | #define __MOBILESYNC_H | ||
| 24 | 25 | ||
| 25 | #include "libimobiledevice/mobilesync.h" | 26 | #include "libimobiledevice/mobilesync.h" |
| 26 | #include "device_link_service.h" | 27 | #include "device_link_service.h" |
diff --git a/src/notification_proxy.h b/src/notification_proxy.h index 0f92cdf..d8e9915 100644 --- a/src/notification_proxy.h +++ b/src/notification_proxy.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef INOTIFICATION_PROXY_H | 21 | |
| 22 | #define INOTIFICATION_PROXY_H | 22 | #ifndef __NOTIFICATION_PROXY_H |
| 23 | #define __NOTIFICATION_PROXY_H | ||
| 23 | 24 | ||
| 24 | #ifdef WIN32 | 25 | #ifdef WIN32 |
| 25 | #include <windows.h> | 26 | #include <windows.h> |
diff --git a/src/property_list_service.h b/src/property_list_service.h index db1c09d..8b15c09 100644 --- a/src/property_list_service.h +++ b/src/property_list_service.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef PROPERTY_LIST_SERVICE_H | 21 | |
| 22 | #define PROPERTY_LIST_SERVICE_H | 22 | #ifndef __PROPERTY_LIST_SERVICE_H |
| 23 | #define __PROPERTY_LIST_SERVICE_H | ||
| 23 | 24 | ||
| 24 | #include <libimobiledevice/lockdown.h> | 25 | #include <libimobiledevice/lockdown.h> |
| 25 | #include "idevice.h" | 26 | #include "idevice.h" |
diff --git a/src/restore.h b/src/restore.h index cf9307c..646d1d1 100644 --- a/src/restore.h +++ b/src/restore.h | |||
| @@ -19,8 +19,8 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef RESTORED_H | 22 | #ifndef __RESTORED_H |
| 23 | #define RESTORED_H | 23 | #define __RESTORED_H |
| 24 | 24 | ||
| 25 | #include <string.h> | 25 | #include <string.h> |
| 26 | 26 | ||
diff --git a/src/sbservices.h b/src/sbservices.h index 2b600ad..598b794 100644 --- a/src/sbservices.h +++ b/src/sbservices.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef ISBSERVICES_H | 21 | |
| 22 | #define ISBSERVICES_H | 22 | #ifndef __SBSERVICES_H |
| 23 | #define __SBSERVICES_H | ||
| 23 | 24 | ||
| 24 | #ifdef WIN32 | 25 | #ifdef WIN32 |
| 25 | #include <windows.h> | 26 | #include <windows.h> |
diff --git a/src/screenshotr.h b/src/screenshotr.h index df6774a..2dadee8 100644 --- a/src/screenshotr.h +++ b/src/screenshotr.h | |||
| @@ -18,8 +18,9 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef SCREENSHOTR_H | 21 | |
| 22 | #define SCREENSHOTR_H | 22 | #ifndef __SCREENSHOTR_H |
| 23 | #define __SCREENSHOTR_H | ||
| 23 | 24 | ||
| 24 | #include "libimobiledevice/screenshotr.h" | 25 | #include "libimobiledevice/screenshotr.h" |
| 25 | #include "device_link_service.h" | 26 | #include "device_link_service.h" |
diff --git a/src/userpref.h b/src/userpref.h index 7ff91b3..14db985 100644 --- a/src/userpref.h +++ b/src/userpref.h | |||
| @@ -19,8 +19,8 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef USERPREF_H | 22 | #ifndef __USERPREF_H |
| 23 | #define USERPREF_H | 23 | #define __USERPREF_H |
| 24 | 24 | ||
| 25 | #ifdef HAVE_CONFIG_H | 25 | #ifdef HAVE_CONFIG_H |
| 26 | #include <config.h> | 26 | #include <config.h> |
diff --git a/src/webinspector.h b/src/webinspector.h index 3f19303..ab04a70 100644 --- a/src/webinspector.h +++ b/src/webinspector.h | |||
| @@ -19,8 +19,8 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef WEBINSPECTOR_H | 22 | #ifndef __WEBINSPECTOR_H |
| 23 | #define WEBINSPECTOR_H | 23 | #define __WEBINSPECTOR_H |
| 24 | 24 | ||
| 25 | #include "libimobiledevice/webinspector.h" | 25 | #include "libimobiledevice/webinspector.h" |
| 26 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
