summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-08 12:26:46 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-08 12:26:46 +0200
commit77d3ce054980b0bc88207c4468dc11ca8620fc72 (patch)
tree63d21227bec660564eddf19107cacb24d190a520 /lib
parentde7a247133fd618aa9438b70646cc30d1577d0f1 (diff)
downloadlibrpm-tizen-77d3ce054980b0bc88207c4468dc11ca8620fc72.tar.gz
librpm-tizen-77d3ce054980b0bc88207c4468dc11ca8620fc72.tar.bz2
librpm-tizen-77d3ce054980b0bc88207c4468dc11ca8620fc72.zip
Kill off deprecated and unused rpmGetMachine() entirely
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmlib.h11
-rw-r--r--lib/rpmrc.c9
2 files changed, 0 insertions, 20 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index c40f0f4f6..ecea4a945 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -579,17 +579,6 @@ int rpmShowRC(FILE * fp);
void rpmSetTables(int archTable, int osTable);
/** \ingroup rpmrc
- * Return current arch/os names.
- * @deprecated Use rpmExpand on _target_* macros.
- * @todo Eliminate from API.
- *
- * @retval arch address of arch name (or NULL)
- * @retval os address of os name (or NULL)
- */
-void rpmGetMachine( const char **arch,
- const char **os);
-
-/** \ingroup rpmrc
* Destroy rpmrc arch/os compatibility tables.
* @todo Eliminate from API.
*/
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 849d755f8..d33c9eeb0 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -1321,15 +1321,6 @@ int rpmMachineScore(int type, const char * name)
return (info != NULL ? info->score : 0);
}
-void rpmGetMachine(const char ** arch, const char ** os)
-{
- if (arch)
- *arch = current[ARCH];
-
- if (os)
- *os = current[OS];
-}
-
/** \ingroup rpmrc
* Set current arch/os names.
* NULL as argument is set to the default value (munged uname())