summaryrefslogtreecommitdiff
path: root/lib/misc.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-03 13:39:07 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-03 13:39:07 +0300
commita7a9595d9b1885fb57a27b76f15bb9ce09203949 (patch)
tree68c4657bb639537729d82702fdbb744ae5566c84 /lib/misc.h
parent6f010ec18d7f48b123b96bce77be43f84c8328e0 (diff)
downloadlibrpm-tizen-a7a9595d9b1885fb57a27b76f15bb9ce09203949.tar.gz
librpm-tizen-a7a9595d9b1885fb57a27b76f15bb9ce09203949.tar.bz2
librpm-tizen-a7a9595d9b1885fb57a27b76f15bb9ce09203949.zip
Rip dosetenv()
- just use regular setenv() instead - we already carry setenv() in misc/ for platforms that don't have it
Diffstat (limited to 'lib/misc.h')
-rw-r--r--lib/misc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/misc.h b/lib/misc.h
index 049b2ca5b..574c46891 100644
--- a/lib/misc.h
+++ b/lib/misc.h
@@ -24,15 +24,6 @@ rpmRC rpmMkdirPath (const char * dpath, const char * dname);
/**
* Like the libc function, but malloc()'s the space needed.
- * @param name variable name
- * @param value variable value
- * @param overwrite should an existing variable be changed?
- * @return 0 on success
- */
-int dosetenv(const char * name, const char * value, int overwrite);
-
-/**
- * Like the libc function, but malloc()'s the space needed.
* @param str "name=value" string
* @return 0 on success
*/