Changeset 3434 for trunk/src/kash/jobs.c
- Timestamp:
- Sep 2, 2020, 10:19:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/jobs.c
r3433 r3434 84 84 STATIC void cmdlist(shinstance *, union node *, int); 85 85 STATIC void cmdputs(shinstance *, const char *); 86 #ifdef KASH_USE_FORKSHELL2 87 static int forkparent(shinstance *psh, struct job *jp, union node *n, int mode, pid_t pid); 88 static void forkchild(shinstance *psh, struct job *jp, union node *n, int mode, int vforked); 89 #endif 86 90 87 91 … … 780 784 */ 781 785 786 #ifndef KASH_USE_FORKSHELL2 782 787 int 783 788 forkshell(shinstance *psh, struct job *jp, union node *n, int mode) … … 799 804 } 800 805 } 801 806 #else /* KASH_USE_FORKSHELL2 */ 802 807 int forkshell2(struct shinstance *psh, struct job *jp, union node *n, int mode, 803 808 int (*child)(struct shinstance *, void *, union node *), … … 825 830 return -1; /* won't get here */ 826 831 } 827 832 #endif 833 834 #ifdef KASH_USE_FORKSHELL2 835 static 836 #endif 828 837 int 829 838 forkparent(shinstance *psh, struct job *jp, union node *n, int mode, pid_t pid) … … 853 862 } 854 863 864 #ifdef KASH_USE_FORKSHELL2 865 static 866 #endif 855 867 void 856 868 forkchild(shinstance *psh, struct job *jp, union node *n, int mode, int vforked)
Note:
See TracChangeset
for help on using the changeset viewer.