]> granicus.if.org Git - shadow/blobdiff - lib/subordinateio.c
remove unused fn commonio_next
[shadow] / lib / subordinateio.c
index 816006a8f836d25a37d3a893e91b057d90610a3a..0d89a64ef7bb0e6dcc954198ec71c39022fed395 100644 (file)
@@ -152,11 +152,6 @@ static struct commonio_ops subordinate_ops = {
        NULL,                   /* close_hook */
 };
 
-static /*@observer@*/ /*@null*/const struct subordinate_range *subordinate_next(struct commonio_db *db)
-{
-       return (const struct subordinate_range *)commonio_next (db);
-}
-
 /*
  * range_exists: Check whether @owner owns any ranges
  *
@@ -418,7 +413,7 @@ fail:
  * @start: the first uid in the owned range
  * @count: the number of uids in the range
  *
- * Return 1 if the range is already present or on succcess.  On error
+ * Return 1 if the range is already present or on success.  On error
  * return 0 and set errno appropriately.
  */
 static int add_range(struct commonio_db *db,
@@ -550,7 +545,8 @@ static struct commonio_db subordinate_uid_db = {
        false,                  /* changed */
        false,                  /* isopen */
        false,                  /* locked */
-       false                   /* readonly */
+       false,                  /* readonly */
+       false                   /* setname */
 };
 
 int sub_uid_setdbname (const char *filename)
@@ -631,7 +627,8 @@ static struct commonio_db subordinate_gid_db = {
        false,                  /* changed */
        false,                  /* isopen */
        false,                  /* locked */
-       false                   /* readonly */
+       false,                  /* readonly */
+       false                   /* setname */
 };
 
 int sub_gid_setdbname (const char *filename)