mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Fix redefinition of typedef.
Per buildfarm members sifaka and longfin, clang with -Wtypedef-redefinition warns of a duplicate typedef unless building with C11. Oversight in commit 40e2e5e92b.
This commit is contained in:
		
							parent
							
								
									c880cf2588
								
							
						
					
					
						commit
						1bbf1e2f1a
					
				| @ -79,12 +79,12 @@ typedef struct UpgradeTaskStep | ||||
|  * This struct is a thin wrapper around an array of steps, i.e., | ||||
|  * UpgradeTaskStep, plus a PQExpBuffer for all the query strings. | ||||
|  */ | ||||
| typedef struct UpgradeTask | ||||
| struct UpgradeTask | ||||
| { | ||||
| 	UpgradeTaskStep *steps; | ||||
| 	int			num_steps; | ||||
| 	PQExpBuffer queries; | ||||
| } UpgradeTask; | ||||
| }; | ||||
| 
 | ||||
| /*
 | ||||
|  * The different states for a parallel slot. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user