--- a/libpurple/protocols/zephyr/ZGetLocs.c Fri Dec 18 03:22:13 2020 -0600
+++ b/libpurple/protocols/zephyr/ZGetLocs.c Fri Dec 18 04:26:19 2020 -0600
@@ -10,9 +10,6 @@
-/* Prototype for -Wmissing-prototypes */
-Code_t ZGetLocations(ZLocations_t *location, int *numlocs);
Code_t ZGetLocations(ZLocations_t *location, int *numlocs)
--- a/libpurple/protocols/zephyr/ZGetSubs.c Fri Dec 18 03:22:13 2020 -0600
+++ b/libpurple/protocols/zephyr/ZGetSubs.c Fri Dec 18 04:26:19 2020 -0600
@@ -10,9 +10,6 @@
-/* Prototype for -Wmissing-prototypes */
-Code_t ZGetSubscriptions(ZSubscription_t *subscription, int *numsubs);
Code_t ZGetSubscriptions(ZSubscription_t *subscription, int *numsubs)
--- a/libpurple/protocols/zephyr/zephyr.c Fri Dec 18 03:22:13 2020 -0600
+++ b/libpurple/protocols/zephyr/zephyr.c Fri Dec 18 04:26:19 2020 -0600
@@ -60,9 +60,6 @@
extern char __Zephyr_realm[];
-extern Code_t ZGetLocations(ZLocations_t *, int *);
-extern Code_t ZGetSubscriptions(ZSubscription_t *, int*);
typedef struct _zframe zframe;
@@ -1328,7 +1325,7 @@
-zephyr_request_locations(zephyr_account *zephyr, const gchar *who)
+zephyr_request_locations(zephyr_account *zephyr, gchar *who) if (use_zeph02(zephyr)) {
--- a/libpurple/protocols/zephyr/zephyr_internal.h Fri Dec 18 03:22:13 2020 -0600
+++ b/libpurple/protocols/zephyr/zephyr_internal.h Fri Dec 18 04:26:19 2020 -0600
@@ -206,11 +206,13 @@
Code_t ZFlushMyLocations(void);
Code_t ZFormatRawNotice(ZNotice_t *, char **, int *);
Code_t ZRetrieveSubscriptions(unsigned short, int *);
+Code_t ZGetSubscriptions(ZSubscription_t *, int *); Code_t ZOpenPort(unsigned short *port);
Code_t ZFlushLocations(void);
Code_t ZFlushSubscriptions(void);
Code_t ZFreeNotice(ZNotice_t *notice);
+Code_t ZGetLocations(ZLocations_t *, int *); Code_t ZParseLocations(register ZNotice_t *notice,
register ZAsyncLocateData_t *zald, int *nlocs,