]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Make _Pool_tmpspace definition internal
authorMichael Schroeder <mls@suse.de>
Thu, 3 Mar 2016 14:18:34 +0000 (15:18 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 3 Mar 2016 14:18:34 +0000 (15:18 +0100)
src/pool.h

index 4a2089d8b89f30085c25249fbaffdb53d3bddf00..b9e2ed60cb98b4935032f82efc1fadf9dc212afc 100644 (file)
@@ -34,9 +34,6 @@ extern "C" {
 #define SYSTEMSOLVABLE         1
 
 
-/* how many strings to maintain (round robin) */
-#define POOL_TMPSPACEBUF 16
-
 /*----------------------------------------------- */
 
 struct _Repo;
@@ -52,12 +49,20 @@ typedef struct _Datapos {
   Id dp;
 } Datapos;
 
+
+#ifdef LIBSOLV_INTERNAL
+
+/* how many strings to maintain (round robin) */
+#define POOL_TMPSPACEBUF 16
+
 struct _Pool_tmpspace {
   char *buf[POOL_TMPSPACEBUF];
   int   len[POOL_TMPSPACEBUF];
   int   n;
 };
 
+#endif
+
 struct _Pool {
   void *appdata;               /* application private pointer */