]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/auth.c
Merge CUPS 1.4svn-r7319.
[thirdparty/cups.git] / scheduler / auth.c
index d6c128293ddb2c71c40aab4578f8609c9395e743..ce62b7154fe9d03f475c49297c2dd43faab964e2 100644 (file)
@@ -308,9 +308,10 @@ cupsdAllowHost(cupsd_location_t *loc,      /* I - Location to add to */
  */
 
 void
-cupsdAllowIP(cupsd_location_t *loc,    /* I - Location to add to */
-             unsigned   address[4],    /* I - IP address to add */
-             unsigned   netmask[4])    /* I - Netmask of address */
+cupsdAllowIP(
+    cupsd_location_t *loc,             /* I - Location to add to */
+    const unsigned   address[4],       /* I - IP address to add */
+    const unsigned   netmask[4])       /* I - Netmask of address */
 {
   cupsd_authmask_t     *temp;          /* New host/domain mask */
 
@@ -1703,8 +1704,8 @@ cupsdDenyHost(cupsd_location_t *loc,      /* I - Location to add to */
 
 void
 cupsdDenyIP(cupsd_location_t *loc,     /* I - Location to add to */
-           unsigned         address[4],/* I - IP address to add */
-           unsigned         netmask[4])/* I - Netmask of address */
+           const unsigned   address[4],/* I - IP address to add */
+           const unsigned   netmask[4])/* I - Netmask of address */
 {
   cupsd_authmask_t     *temp;          /* New host/domain mask */