Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=385db7cc7e05618109879cd3b8c66df720706c72

commit 385db7cc7e05618109879cd3b8c66df720706c72
Author: James Buren <[email protected]>
Date:   Sat Aug 11 13:47:07 2012 -0500

rename some internal identifiers in begin module

diff --git a/begin.c b/begin.c
index 7ad5668..5f56d44 100644
--- a/begin.c
+++ b/begin.c
@@ -6,7 +6,7 @@
"Please click 'Next' to continue.\n"           \
)

-static enum order run_begin(struct database *db)
+static enum order begin_run(struct database *db)
{
assert(db != 0);

@@ -62,10 +62,10 @@ static enum order run_begin(struct database *db)
return ORDER_NEXT;
}

-struct module module_begin =
+struct module begin_module =
{
__FILE__,
-  run_begin
+  begin_run
};

// -%- strip: yes; add-newline: yes; use-tabs: no; indent-width: 2; tab-width: 
2; -%-
diff --git a/fwsetup.h b/fwsetup.h
index 210fed4..79761bf 100644
--- a/fwsetup.h
+++ b/fwsetup.h
@@ -12,6 +12,7 @@

#define _(S) S
#define memzero(P,N) memset(P,0,N)
+#define assert_not_reached() assert(0)
#define WINDOWTITLE_TEXT _("Frugalware Linux Installer")
#define NEXTBUTTON_TEXT _("Next")
#define PREVIOUSBUTTON_TEXT _("Previous")
@@ -56,6 +57,6 @@ struct module

extern void eprintf(const char *s,...) __attribute__((format(printf,1,2)));;
extern int main(void);
-extern struct module module_begin;
+extern struct module begin_module;

// -%- strip: yes; add-newline: yes; use-tabs: no; indent-width: 2; tab-width: 
2; -%-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to