]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add old private APIs back as placeholders to prevent OS X 10.8 and earlier
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 4 Dec 2012 14:21:48 +0000 (14:21 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 4 Dec 2012 14:21:48 +0000 (14:21 +0000)
from failing after a software update...

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10725 7a7537e8-13f0-0310-91df-b6672ffda945

cups/http-addr.c
cups/http.c

index 4513ff8185da3b6dac4a2c3ffbcc528a8b8a6efb..e3dba9e9aba346e660d11ce5041c2b0469131320 100644 (file)
@@ -382,6 +382,9 @@ httpAddrPort(http_addr_t *addr)             /* I - Address */
     return (ippPort());
 }
 
+/* For OS X 10.8 and earlier */
+int _httpAddrPort(http_addr_t *addr) { return (httpAddrPort(addr)); }
+
 
 /*
  * '_httpAddrSetPort()' - Set the port number associated with an address.
index 9b2b54bc5fdf933133192cf77d2a9264e394f6a0..da55b1977d25a4f9e81f3c67a2b81a1677a7b3e2 100644 (file)
@@ -2154,6 +2154,10 @@ httpPeek(http_t *http,                   /* I - Connection to server */
   return (bytes);
 }
 
+/* For OS X 10.8 and earlier */
+ssize_t _httpPeek(http_t *http, char *buffer, size_t length)
+{ return (httpPeek(http, buffer, length)); }
+
 
 /*
  * 'httpPost()' - Send a POST request to the server.