]> wimlib.net Git - wimlib/commitdiff
lookup_sd(): Make static
authorEric Biggers <ebiggers3@gmail.com>
Wed, 15 Jan 2014 06:58:53 +0000 (00:58 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 15 Jan 2014 06:58:53 +0000 (00:58 -0600)
include/wimlib/security.h
src/security.c

index 9d338a15faa3b6cf108af21e69d495de48a8d3d7..71ffb695b379d0cc98dd7a9605ea2c48dab08d13 100644 (file)
@@ -36,9 +36,6 @@ struct wim_security_data {
 extern void
 destroy_sd_set(struct wim_sd_set *sd_set, bool rollback);
 
 extern void
 destroy_sd_set(struct wim_sd_set *sd_set, bool rollback);
 
-extern int
-lookup_sd(struct wim_sd_set *set, const u8 hash[]);
-
 extern int
 sd_set_add_sd(struct wim_sd_set *sd_set, const char descriptor[],
              size_t size);
 extern int
 sd_set_add_sd(struct wim_sd_set *sd_set, const char descriptor[],
              size_t size);
index 797345ba686f11c0b39b03954b2764701c162b7d..d5fbcbb7db1d6d75501b4767ceb6924b1349b190 100644 (file)
@@ -398,7 +398,7 @@ insert_sd_node(struct wim_sd_set *set, struct sd_node *new)
 
 /* Returns the index of the security descriptor having a SHA1 message digest of
  * @hash.  If not found, return -1. */
 
 /* Returns the index of the security descriptor having a SHA1 message digest of
  * @hash.  If not found, return -1. */
-int
+static int
 lookup_sd(struct wim_sd_set *set, const u8 hash[SHA1_HASH_SIZE])
 {
        struct rb_node *node = set->rb_root.rb_node;
 lookup_sd(struct wim_sd_set *set, const u8 hash[SHA1_HASH_SIZE])
 {
        struct rb_node *node = set->rb_root.rb_node;