summaryrefslogtreecommitdiff
path: root/src/poolid.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-05-24 16:39:51 +0200
committerMichael Schroeder <mls@suse.de>2011-05-24 16:39:51 +0200
commite2a47f38496014e671b9e9ca7b6f0db1839af78d (patch)
tree67feaf6207435aecc8c65e24d0b72243fa0295a3 /src/poolid.h
parent4cd5d62a01ff1b50c26507a9f27a7df18febacc4 (diff)
downloadlibsolv-e2a47f38496014e671b9e9ca7b6f0db1839af78d.tar.gz
libsolv-e2a47f38496014e671b9e9ca7b6f0db1839af78d.tar.bz2
libsolv-e2a47f38496014e671b9e9ca7b6f0db1839af78d.zip
- do not use obsolete interface in libsolv library itself
Diffstat (limited to 'src/poolid.h')
-rw-r--r--src/poolid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/poolid.h b/src/poolid.h
index 05c788f..f7c6511 100644
--- a/src/poolid.h
+++ b/src/poolid.h
@@ -40,6 +40,7 @@ extern void pool_freeidhashes(Pool *pool);
/* deprecated names, do not use in new code */
+#ifdef OBSOLETE_INTERFACE
static inline Id str2id(Pool *pool, const char *str, int create)
{
return pool_str2id(pool, str, create);
@@ -68,5 +69,6 @@ static inline const char *dep2str(Pool *pool, Id id)
{
return pool_dep2str(pool, id);
}
+#endif
#endif /* LIBSOLV_POOLID_H */