correct LENGTH()
This commit is contained in:
		
							
								
								
									
										2
									
								
								std.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								std.c
									
									
									
									
									
								
							| @@ -13,7 +13,7 @@ | |||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
|  |  | ||||||
| #define LENGTH(x)	(sizeof (x) / sizeof (x)[0]) | #define LENGTH(x)	(sizeof(x) / sizeof((x)[0])) | ||||||
| #define MAX(a,b)	(((a) > (b)) ? (a) : (b)) | #define MAX(a,b)	(((a) > (b)) ? (a) : (b)) | ||||||
| #define MIN(a,b)	(((a) < (b)) ? (a) : (b)) | #define MIN(a,b)	(((a) < (b)) ? (a) : (b)) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user