OSDN Git Service

Move PedArchitecture and ped_set_architecture to private
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 2 Nov 2007 16:33:05 +0000 (14:33 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 3 Nov 2007 18:38:01 +0000 (16:38 -0200)
commit5b1ae8fe9eec59340b479e8e3ac74a3268123e33
tree37b403a6119de8d9794c9668a25c6985427ec963
parentdc8582efb6077fe129ccfa9f7ed1827adaed5abd
Move PedArchitecture and ped_set_architecture to private

Code that works with libparted isn't suppose to need to change the
architecture where it's running and then doesn't make sense to export
it.

Two new files has been create (libparted/architecture.[hc]) that has
the PedArchitecture structure and the ped_set_architecture
implementation.  All changes that were need to get it suported on all
currently available architectures has been done too.
13 files changed:
include/parted/beos.h
include/parted/gnu.h
include/parted/linux.h
include/parted/parted.h
libparted/Makefile.am
libparted/arch/beos.c
libparted/arch/gnu.c
libparted/arch/linux.c
libparted/architecture.c [new file with mode: 0644]
libparted/architecture.h [new file with mode: 0644]
libparted/device.c
libparted/disk.c
libparted/libparted.c