Fix coding style
It was about damn time. Consistency is very important in such a big codebase.
This commit is contained in:
		
							
								
								
									
										1
									
								
								cal.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cal.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <time.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| #define MONTHMAX 100 | ||||
|   | ||||
							
								
								
									
										1
									
								
								chgrp.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								chgrp.c
									
									
									
									
									
								
							| @@ -7,6 +7,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static int gid; | ||||
|   | ||||
							
								
								
									
										1
									
								
								chown.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								chown.c
									
									
									
									
									
								
							| @@ -6,6 +6,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void chownpwgr(const char *); | ||||
|   | ||||
							
								
								
									
										1
									
								
								chroot.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								chroot.c
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ | ||||
| #include <errno.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								cksum.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cksum.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void cksum(FILE *, const char *); | ||||
|   | ||||
							
								
								
									
										1
									
								
								cmp.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cmp.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| enum { Same = 0, Diff = 1, Error = 2 }; | ||||
|   | ||||
							
								
								
									
										1
									
								
								cols.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cols.c
									
									
									
									
									
								
							| @@ -6,6 +6,7 @@ | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/ioctl.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								comm.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								comm.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <limits.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| #define CLAMP(x, l, h) MIN(h, MAX(l, x)) | ||||
|   | ||||
							
								
								
									
										1
									
								
								cp.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cp.c
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ | ||||
| #include <stdbool.h> | ||||
| #include <stdlib.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "fs.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								cut.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cut.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								date.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								date.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <time.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								du.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								du.c
									
									
									
									
									
								
							| @@ -8,6 +8,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <stdbool.h> | ||||
| #include <limits.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static long blksize = 512; | ||||
|   | ||||
							
								
								
									
										1
									
								
								echo.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								echo.c
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ | ||||
| #include <stdbool.h> | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								env.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								env.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <errno.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| extern char **environ; | ||||
|   | ||||
							
								
								
									
										1
									
								
								expand.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								expand.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <wchar.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
							
								
								
									
										1
									
								
								fold.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								fold.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								grep.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								grep.c
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								head.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								head.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								kill.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								kill.c
									
									
									
									
									
								
							| @@ -9,6 +9,7 @@ | ||||
| #include <string.h> | ||||
| #include <strings.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| struct { | ||||
|   | ||||
							
								
								
									
										1
									
								
								link.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								link.c
									
									
									
									
									
								
							| @@ -1,6 +1,7 @@ | ||||
| /* See LICENSE file for copyright and license details. */ | ||||
| #include <errno.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| int | ||||
|   | ||||
							
								
								
									
										1
									
								
								ln.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								ln.c
									
									
									
									
									
								
							| @@ -6,6 +6,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| /* See LICENSE file for copyright and license details. */ | ||||
| #include <stdio.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| int | ||||
|   | ||||
							
								
								
									
										1
									
								
								ls.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								ls.c
									
									
									
									
									
								
							| @@ -10,6 +10,7 @@ | ||||
| #include <time.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
							
								
								
									
										1
									
								
								md5sum.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								md5sum.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <stdint.h> | ||||
|  | ||||
| #include "util.h" | ||||
| #include "crypt.h" | ||||
| #include "md5.h" | ||||
|   | ||||
							
								
								
									
										1
									
								
								mkdir.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								mkdir.c
									
									
									
									
									
								
							| @@ -7,6 +7,7 @@ | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void mkdirp(char *); | ||||
|   | ||||
							
								
								
									
										1
									
								
								mkfifo.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								mkfifo.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								mktemp.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								mktemp.c
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								mv.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								mv.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "fs.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								nice.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								nice.c
									
									
									
									
									
								
							| @@ -6,6 +6,7 @@ | ||||
| #include <sys/resource.h> | ||||
| #include <sys/time.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								nl.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								nl.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								nohup.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								nohup.c
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| enum { Error = 127, Found = 126 }; | ||||
|   | ||||
							
								
								
									
										1
									
								
								paste.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								paste.c
									
									
									
									
									
								
							| @@ -6,6 +6,7 @@ | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
| #include <wchar.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| /* See LICENSE file for copyright and license details. */ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| extern char **environ; | ||||
|   | ||||
							
								
								
									
										1
									
								
								pwd.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								pwd.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static const char *getpwd(const char *cwd); | ||||
|   | ||||
| @@ -6,6 +6,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								renice.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								renice.c
									
									
									
									
									
								
							| @@ -7,6 +7,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static int strtop(const char *); | ||||
|   | ||||
							
								
								
									
										1
									
								
								rm.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								rm.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "fs.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								rmdir.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								rmdir.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
| #include <errno.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								seq.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								seq.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static int digitsleft(const char *); | ||||
|   | ||||
							
								
								
									
										1
									
								
								setsid.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								setsid.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <unistd.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <stdint.h> | ||||
|  | ||||
| #include "util.h" | ||||
| #include "crypt.h" | ||||
| #include "sha1.h" | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <stdint.h> | ||||
|  | ||||
| #include "util.h" | ||||
| #include "crypt.h" | ||||
| #include "sha256.h" | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <stdint.h> | ||||
|  | ||||
| #include "util.h" | ||||
| #include "crypt.h" | ||||
| #include "sha512.h" | ||||
|   | ||||
							
								
								
									
										1
									
								
								sleep.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								sleep.c
									
									
									
									
									
								
							| @@ -1,6 +1,7 @@ | ||||
| /* See LICENSE file for copyright and license details. */ | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										3
									
								
								sort.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								sort.c
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
| @@ -20,7 +21,7 @@ enum { | ||||
| 	MOD_N      = 1 << 1, | ||||
| 	MOD_STARTB = 1 << 2, | ||||
| 	MOD_ENDB   = 1 << 3, | ||||
| 	MOD_R      = 1 << 4 | ||||
| 	MOD_R      = 1 << 4, | ||||
| }; | ||||
|  | ||||
| struct kdlist { | ||||
|   | ||||
							
								
								
									
										1
									
								
								split.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								split.c
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | ||||
| #include <string.h> | ||||
| #include <ctype.h> | ||||
| #include <limits.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static int itostr(char *, int, int); | ||||
|   | ||||
							
								
								
									
										1
									
								
								sponge.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								sponge.c
									
									
									
									
									
								
							| @@ -1,6 +1,7 @@ | ||||
| /* See LICENSE file for copyright and license details. */ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
| @@ -2,6 +2,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <ctype.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void dostrings(FILE *fp, const char *fname); | ||||
|   | ||||
							
								
								
									
										1
									
								
								sync.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								sync.c
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								tail.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tail.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								tar.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tar.c
									
									
									
									
									
								
							| @@ -10,6 +10,7 @@ | ||||
| #include <limits.h> | ||||
| #include <grp.h> | ||||
| #include <pwd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| typedef struct Header Header; | ||||
|   | ||||
							
								
								
									
										1
									
								
								tee.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tee.c
									
									
									
									
									
								
							| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								test.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								test.c
									
									
									
									
									
								
							| @@ -6,6 +6,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								touch.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								touch.c
									
									
									
									
									
								
							| @@ -7,6 +7,7 @@ | ||||
| #include <unistd.h> | ||||
| #include <utime.h> | ||||
| #include <sys/stat.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void touch(const char *); | ||||
|   | ||||
							
								
								
									
										1
									
								
								tr.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tr.c
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | ||||
| #include <string.h> | ||||
| #include <locale.h> | ||||
| #include <wchar.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tty.c
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ | ||||
| #include <unistd.h> | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
							
								
								
									
										1
									
								
								uname.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								uname.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/utsname.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <wchar.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -7,6 +7,7 @@ | ||||
| #include <unistd.h> | ||||
| #include <errno.h> | ||||
| #include <limits.h> | ||||
|  | ||||
| #include "util.h" | ||||
| #include "text.h" | ||||
|  | ||||
|   | ||||
| @@ -4,6 +4,7 @@ | ||||
| #include <sys/stat.h> | ||||
| #include <sys/types.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void uuencode(FILE *, const char *, const char *); | ||||
|   | ||||
							
								
								
									
										1
									
								
								wc.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								wc.c
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "util.h" | ||||
|  | ||||
| static void output(const char *, long, long, long); | ||||
|   | ||||
							
								
								
									
										1
									
								
								xargs.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								xargs.c
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | ||||
| #include <string.h> | ||||
| #include <sys/wait.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "text.h" | ||||
| #include "util.h" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user