]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Rename poolid_private.h to pool_private.h
authorMichael Schroeder <mls@suse.de>
Tue, 5 May 2026 09:29:27 +0000 (11:29 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 5 May 2026 11:21:06 +0000 (13:21 +0200)
Also move the declaration of the internal functions from pool.h
to pool_private.h.

src/pool.h
src/pool_private.h [moved from src/poolid_private.h with 57% similarity]
src/poolid.c
src/poolwhatprovides.c
src/repo.c
src/repo_solv.c
src/repodata.c
src/solvable.c

index fda87abf0968b2c2fbc682ac5ce3532d868cebd5..d994256409964165e1fe9df9c02e960f8c49610d 100644 (file)
@@ -398,10 +398,6 @@ long long pool_calc_installsizechange(Pool *pool, Map *installedmap);
 
 void pool_add_fileconflicts_deps(Pool *pool, Queue *conflicts);
 
-#ifdef LIBSOLV_INTERNAL
-Id *pool_lookup_languagecache_row(Pool *pool, Id keyname);
-#endif
-
 
 
 /* loop over all providers of d */
similarity index 57%
rename from src/poolid_private.h
rename to src/pool_private.h
index 0a8c51e9a3abb024f189cbb2a4dd5ca61c607df8..7f241db7982bcfd0143cc90410d6698f723aa259 100644 (file)
@@ -6,14 +6,16 @@
  */
 
 /*
- * poolid_private.h
+ * pool_private.h
  *
  */
 
-#ifndef LIBSOLV_POOLID_PRIVATE_H
-#define LIBSOLV_POOLID_PRIVATE_H
+#ifndef LIBSOLV_POOL_PRIVATE_H
+#define LIBSOLV_POOL_PRIVATE_H
 
 /* the size of all buffers is incremented in blocks */
 #define WHATPROVIDES_BLOCK     1023
 
-#endif /* LIBSOLV_POOLID_PRIVATE_H */
+Id *pool_lookup_languagecache_row(Pool *pool, Id keyname);
+
+#endif /* LIBSOLV_POOL_PRIVATE_H */
index 3f6d3d88080bda59d734ff786a928511c417ac82..e20b461efe01990b97d6a9d6b2b21ecd47fcdce7 100644 (file)
@@ -16,8 +16,8 @@
 #include <stdio.h>
 
 #include "pool.h"
+#include "pool_private.h"
 #include "poolid.h"
-#include "poolid_private.h"
 #include "util.h"
 
 #define REL_BLOCK              1023    /* hashtable for relations */
index 5d495ebd5e3c6b13cbc812d3e46757b95c25303e..109c66e22e9c329695813daebb70ee20dd474f1e 100644 (file)
@@ -19,7 +19,7 @@
 #include <sys/types.h>
 
 #include "pool.h"
-#include "poolid_private.h"
+#include "pool_private.h"
 #include "repo.h"
 #include "util.h"
 #include "evr.h"
index 050ea24ec39b29b326f52dc2e96ce1acd4848f9f..1aee4a83bb8490b7644a6d45e2d2a45d3b152191 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "repo.h"
 #include "pool.h"
-#include "poolid_private.h"
 #include "util.h"
 #include "chksum.h"
 
index ca3fa2139a774bd4bc0e0b95bdd94ab3973e2044..b18270628e915269e93f3edcff7f3b7bcda32af4 100644 (file)
@@ -25,7 +25,7 @@
 #include "repopack.h"
 #include "repopage.h"
 
-#include "poolid_private.h"    /* WHATPROVIDES_BLOCK */
+#include "pool_private.h"      /* WHATPROVIDES_BLOCK */
 
 #define INTERESTED_START       SOLVABLE_NAME
 #define INTERESTED_END         SOLVABLE_ENHANCES
index 7320f004d84bbf798fa34570f8ef6deb48ed627b..09b7f9602f568f131d2b48e3f236eef26b3631db 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "repo.h"
 #include "pool.h"
-#include "poolid_private.h"
 #include "util.h"
 #include "hash.h"
 #include "chksum.h"
index 07da4324c45b715555addf00eea4c496c9368b07..41e6e94ef06732d61a80584a690ee30cb8a13ec6 100644 (file)
@@ -18,6 +18,7 @@
 #include <string.h>
 
 #include "pool.h"
+#include "pool_private.h"
 #include "repo.h"
 #include "util.h"
 #include "policy.h"