[PC-BSD Commits] r7784 - pcbsd-projects/txt-sysinstall

svn at pcbsd.org svn at pcbsd.org
Tue Oct 12 18:13:55 PDT 2010


Author: johnh
Date: 2010-10-12 18:13:55 -0700 (Tue, 12 Oct 2010)
New Revision: 7784

Modified:
   pcbsd-projects/txt-sysinstall/partsel.c
   pcbsd-projects/txt-sysinstall/txt-sysinstall.h
Log:
Don't need the enum and changed tabs to spaces.


Modified: pcbsd-projects/txt-sysinstall/partsel.c
===================================================================
--- pcbsd-projects/txt-sysinstall/partsel.c	2010-10-13 01:12:11 UTC (rev 7783)
+++ pcbsd-projects/txt-sysinstall/partsel.c	2010-10-13 01:13:55 UTC (rev 7784)
@@ -42,11 +42,6 @@
 	USENEW  = 2
 };
 
-enum {
-	SCHEME_MBR = 1,
-	SCHEME_GPT = 2
-};
-
 struct mirror_disk {
 	char disk[128];
 	char balance[128];

Modified: pcbsd-projects/txt-sysinstall/txt-sysinstall.h
===================================================================
--- pcbsd-projects/txt-sysinstall/txt-sysinstall.h	2010-10-13 01:12:11 UTC (rev 7783)
+++ pcbsd-projects/txt-sysinstall/txt-sysinstall.h	2010-10-13 01:13:55 UTC (rev 7784)
@@ -174,45 +174,45 @@
 struct disk_list *get_disk_list(void);
 void	free_disk_list(void);
 
-#define	installType(x)          appendconfig("installType", x)
-#define	installMode(x)          appendconfig("installMode", x)
-#define	installMedium(x)        appendconfig("installMedium", x)
+#define installType(x)          appendconfig("installType", x)
+#define installMode(x)          appendconfig("installMode", x)
+#define installMedium(x)        appendconfig("installMedium", x)
 
-#define	installComponents(x)    appendconfig("installComponents", x)
-#define	installPackages(x)      appendconfig("installPackages", x)
+#define installComponents(x)    appendconfig("installComponents", x)
+#define installPackages(x)      appendconfig("installPackages", x)
 
-#define	packageType(x)          appendconfig("packageType", x)
+#define packageType(x)          appendconfig("packageType", x)
 
-#define	rootPass(x)             appendconfig("rootPass", x)
+#define rootPass(x)             appendconfig("rootPass", x)
 #define encpass(x)				appendconfig("encpass", x)
 
-#define	userName(x)             appendconfig("userName", x)
-#define	userComment(x)          appendconfig("userComment", x)
-#define	userPass(x)             appendconfig("userPass", x)
-#define	userGroups(x)           appendconfig("userGroups", x)
-#define	userShell(x)            appendconfig("userShell", x)
-#define	autoLoginUser(x)        appendconfig("autoLoginUser", x)
-#define	commitUser()            appendconfig("commitUser", NULL)
+#define userName(x)             appendconfig("userName", x)
+#define userComment(x)          appendconfig("userComment", x)
+#define userPass(x)             appendconfig("userPass", x)
+#define userGroups(x)           appendconfig("userGroups", x)
+#define userShell(x)            appendconfig("userShell", x)
+#define autoLoginUser(x)        appendconfig("autoLoginUser", x)
+#define commitUser()            appendconfig("commitUser", NULL)
 
-#define	partition(x)            appendconfig("partition", x)
-#define	bootManager(x)          appendconfig("bootManager", x)
+#define partition(x)            appendconfig("partition", x)
+#define bootManager(x)          appendconfig("bootManager", x)
 #define partscheme(x)           appendconfig("partscheme", x)
 
-#define	mirror(x)               appendconfig("mirror", x)
-#define	mirrorbal(x)            appendconfig("mirrorbal", x)
+#define mirror(x)               appendconfig("mirror", x)
+#define mirrorbal(x)            appendconfig("mirrorbal", x)
 
-#define	ftpPath(x)              appendconfig("ftpPath", x)
+#define ftpPath(x)              appendconfig("ftpPath", x)
 
-#define	timeZone(x)             appendconfig("timeZone", x) 
+#define timeZone(x)             appendconfig("timeZone", x) 
 
-#define	enableNTP(x)            appendconfig("enableNTP", x)
+#define enableNTP(x)            appendconfig("enableNTP", x)
 
-#define	disk(n,x) \
+#define disk(n,x) \
 do { \
-	char dp[16]; \
-	snprintf(dp, sizeof(dp), "disk%d-part", n); \
-	appendconfig(dp, x); \
+    char dp[16]; \
+    snprintf(dp, sizeof(dp), "disk%d-part", n); \
+    appendconfig(dp, x); \
 } while (0)
 
-#define	commitDiskPart()        appendconfig("commitDiskPart", NULL)
-#define	commitDiskLabel()       appendconfig("commitDiskLabel", NULL)
+#define commitDiskPart()        appendconfig("commitDiskPart", NULL)
+#define commitDiskLabel()       appendconfig("commitDiskLabel", NULL)



More information about the Commits mailing list