Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=8df22c2768a1735c00b42066fb971f014d3609d5
commit 8df22c2768a1735c00b42066fb971f014d3609d5 Author: James Buren <[email protected]> Date: Sat Aug 11 17:38:15 2012 -0500 add skeleton file for partition_setup diff --git a/fwsetup.h b/fwsetup.h index 15a4032..2d03797 100644 --- a/fwsetup.h +++ b/fwsetup.h @@ -10,6 +10,7 @@ #include <fcntl.h> #include <assert.h> #include <wchar.h> +#include <parted/parted.h> #define _(S) S #define memzero(P,N) memset(P,0,N) @@ -60,6 +61,7 @@ struct module extern void eprintf(const char *s,...) __attribute__((format(printf,1,2)));; extern int main(void); extern struct module begin_module; +extern struct module partition_setup_module; extern struct module end_module; // -%- strip: yes; add-newline: yes; use-tabs: no; indent-width: 2; tab-width: 2; -%- diff --git a/partition_setup.c b/partition_setup.c new file mode 100644 index 0000000..7f6680b --- /dev/null +++ b/partition_setup.c @@ -0,0 +1,12 @@ +#include "fwsetup.h" + +static enum order partition_setup_run(struct database *db) +{ + return 0; +} + +struct module partition_setup_module = +{ + __FILE__, + partition_setup_run +}; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
