add some missed statics on constant objects.
fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped
This commit is contained in:
		@@ -891,7 +891,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts)
 | 
			
		||||
	for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) {
 | 
			
		||||
		char *opteq = strchr(opt, '=');
 | 
			
		||||
		if (opteq) {
 | 
			
		||||
			const char *const options[] = {
 | 
			
		||||
			static const char *const options[] = {
 | 
			
		||||
				/* 0 */ "rsize",
 | 
			
		||||
				/* 1 */ "wsize",
 | 
			
		||||
				/* 2 */ "timeo",
 | 
			
		||||
@@ -996,7 +996,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts)
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		else {
 | 
			
		||||
			const char *const options[] = {
 | 
			
		||||
			static const char *const options[] = {
 | 
			
		||||
				"bg",
 | 
			
		||||
				"fg",
 | 
			
		||||
				"soft",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user