From a7a9595d9b1885fb57a27b76f15bb9ce09203949 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 3 Jun 2008 13:39:07 +0300 Subject: Rip dosetenv() - just use regular setenv() instead - we already carry setenv() in misc/ for platforms that don't have it --- lib/misc.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/misc.h') diff --git a/lib/misc.h b/lib/misc.h index 049b2ca5b..574c46891 100644 --- a/lib/misc.h +++ b/lib/misc.h @@ -22,15 +22,6 @@ extern "C" { */ 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 -- cgit v1.2.3