diff options
| -rw-r--r-- | src/widget-cat.c | 12 | ||||
| -rw-r--r-- | src/widget-cat.h | 1 | ||||
| -rw-r--r-- | src/widget-pathcheck.c | 12 | ||||
| -rw-r--r-- | src/widget-pathcheck.h | 1 | ||||
| -rw-r--r-- | src/widget-rm.c | 12 | ||||
| -rw-r--r-- | src/widget-rm.h | 1 | ||||
| -rw-r--r-- | src/widget-rmdir.c | 12 | ||||
| -rw-r--r-- | src/widget-rmdir.h | 1 | ||||
| -rw-r--r-- | src/widget-tail.c | 2 | ||||
| -rw-r--r-- | src/widget-tail.h | 2 | ||||
| -rw-r--r-- | src/widget-zcat.c | 5 | ||||
| -rw-r--r-- | src/widget-zcat.h | 5 |
12 files changed, 55 insertions, 11 deletions
diff --git a/src/widget-cat.c b/src/widget-cat.c index 786599c..f62314e 100644 --- a/src/widget-cat.c +++ b/src/widget-cat.c | |||
| @@ -52,6 +52,18 @@ | |||
| 52 | #include <unistd.h> | 52 | #include <unistd.h> |
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | ////////////////// | ||
| 56 | // // | ||
| 57 | // Prototypes // | ||
| 58 | // // | ||
| 59 | ////////////////// | ||
| 60 | #ifdef __SECURECOREUTILS_PMARK | ||
| 61 | #pragma mark - Prototypes | ||
| 62 | #endif | ||
| 63 | |||
| 64 | void scu_widget_cat_usage(scu_config * cnf); | ||
| 65 | |||
| 66 | |||
| 55 | ///////////////// | 67 | ///////////////// |
| 56 | // // | 68 | // // |
| 57 | // Functions // | 69 | // Functions // |
diff --git a/src/widget-cat.h b/src/widget-cat.h index 2f67114..828feaf 100644 --- a/src/widget-cat.h +++ b/src/widget-cat.h | |||
| @@ -62,6 +62,5 @@ | |||
| 62 | 62 | ||
| 63 | int scu_widget_cat(scu_config * cnf); | 63 | int scu_widget_cat(scu_config * cnf); |
| 64 | 64 | ||
| 65 | void scu_widget_cat_usage(scu_config * cnf); | ||
| 66 | 65 | ||
| 67 | #endif /* end of header */ | 66 | #endif /* end of header */ |
diff --git a/src/widget-pathcheck.c b/src/widget-pathcheck.c index dfc7d04..1018a77 100644 --- a/src/widget-pathcheck.c +++ b/src/widget-pathcheck.c | |||
| @@ -46,6 +46,18 @@ | |||
| 46 | #include <stdio.h> | 46 | #include <stdio.h> |
| 47 | 47 | ||
| 48 | 48 | ||
| 49 | ////////////////// | ||
| 50 | // // | ||
| 51 | // Prototypes // | ||
| 52 | // // | ||
| 53 | ////////////////// | ||
| 54 | #ifdef __SECURECOREUTILS_PMARK | ||
| 55 | #pragma mark - Prototypes | ||
| 56 | #endif | ||
| 57 | |||
| 58 | void scu_widget_pathcheck_usage(scu_config * cnf); | ||
| 59 | |||
| 60 | |||
| 49 | ///////////////// | 61 | ///////////////// |
| 50 | // // | 62 | // // |
| 51 | // Functions // | 63 | // Functions // |
diff --git a/src/widget-pathcheck.h b/src/widget-pathcheck.h index 986919d..7871417 100644 --- a/src/widget-pathcheck.h +++ b/src/widget-pathcheck.h | |||
| @@ -62,6 +62,5 @@ | |||
| 62 | 62 | ||
| 63 | int scu_widget_pathcheck(scu_config * cnf); | 63 | int scu_widget_pathcheck(scu_config * cnf); |
| 64 | 64 | ||
| 65 | void scu_widget_pathcheck_usage(scu_config * cnf); | ||
| 66 | 65 | ||
| 67 | #endif /* end of header */ | 66 | #endif /* end of header */ |
diff --git a/src/widget-rm.c b/src/widget-rm.c index 7023849..85beb4a 100644 --- a/src/widget-rm.c +++ b/src/widget-rm.c | |||
| @@ -52,6 +52,18 @@ | |||
| 52 | #include <unistd.h> | 52 | #include <unistd.h> |
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | ////////////////// | ||
| 56 | // // | ||
| 57 | // Prototypes // | ||
| 58 | // // | ||
| 59 | ////////////////// | ||
| 60 | #ifdef __SECURECOREUTILS_PMARK | ||
| 61 | #pragma mark - Prototypes | ||
| 62 | #endif | ||
| 63 | |||
| 64 | void scu_widget_rm_usage(scu_config * cnf); | ||
| 65 | |||
| 66 | |||
| 55 | ///////////////// | 67 | ///////////////// |
| 56 | // // | 68 | // // |
| 57 | // Functions // | 69 | // Functions // |
diff --git a/src/widget-rm.h b/src/widget-rm.h index 82d78b7..8f4d00f 100644 --- a/src/widget-rm.h +++ b/src/widget-rm.h | |||
| @@ -62,6 +62,5 @@ | |||
| 62 | 62 | ||
| 63 | int scu_widget_rm(scu_config * cnf); | 63 | int scu_widget_rm(scu_config * cnf); |
| 64 | 64 | ||
| 65 | void scu_widget_rm_usage(scu_config * cnf); | ||
| 66 | 65 | ||
| 67 | #endif /* end of header */ | 66 | #endif /* end of header */ |
diff --git a/src/widget-rmdir.c b/src/widget-rmdir.c index bb4b985..6018eee 100644 --- a/src/widget-rmdir.c +++ b/src/widget-rmdir.c | |||
| @@ -52,6 +52,18 @@ | |||
| 52 | #include <unistd.h> | 52 | #include <unistd.h> |
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | ////////////////// | ||
| 56 | // // | ||
| 57 | // Prototypes // | ||
| 58 | // // | ||
| 59 | ////////////////// | ||
| 60 | #ifdef __SECURECOREUTILS_PMARK | ||
| 61 | #pragma mark - Prototypes | ||
| 62 | #endif | ||
| 63 | |||
| 64 | void scu_widget_rmdir_usage(scu_config * cnf); | ||
| 65 | |||
| 66 | |||
| 55 | ///////////////// | 67 | ///////////////// |
| 56 | // // | 68 | // // |
| 57 | // Functions // | 69 | // Functions // |
diff --git a/src/widget-rmdir.h b/src/widget-rmdir.h index 6f23f5f..850e9c5 100644 --- a/src/widget-rmdir.h +++ b/src/widget-rmdir.h | |||
| @@ -62,6 +62,5 @@ | |||
| 62 | 62 | ||
| 63 | int scu_widget_rmdir(scu_config * cnf); | 63 | int scu_widget_rmdir(scu_config * cnf); |
| 64 | 64 | ||
| 65 | void scu_widget_rmdir_usage(scu_config * cnf); | ||
| 66 | 65 | ||
| 67 | #endif /* end of header */ | 66 | #endif /* end of header */ |
diff --git a/src/widget-tail.c b/src/widget-tail.c index 2b1631a..a33abc7 100644 --- a/src/widget-tail.c +++ b/src/widget-tail.c | |||
| @@ -85,6 +85,8 @@ int scu_widget_tail_bytes(scu_config * cnf, int fd, struct stat * sb, | |||
| 85 | int scu_widget_tail_follow(scu_config * cnf, int fd); | 85 | int scu_widget_tail_follow(scu_config * cnf, int fd); |
| 86 | int scu_widget_tail_lines(scu_config * cnf, int fd, struct stat * sb, | 86 | int scu_widget_tail_lines(scu_config * cnf, int fd, struct stat * sb, |
| 87 | size_t opts, off_t optnum); | 87 | size_t opts, off_t optnum); |
| 88 | void scu_widget_tail_usage(scu_config * cnf); | ||
| 89 | void scu_widget_tail_follow_alarm(int sig); | ||
| 88 | 90 | ||
| 89 | 91 | ||
| 90 | ///////////////// | 92 | ///////////////// |
diff --git a/src/widget-tail.h b/src/widget-tail.h index b0de990..ab21dbd 100644 --- a/src/widget-tail.h +++ b/src/widget-tail.h | |||
| @@ -62,7 +62,5 @@ | |||
| 62 | 62 | ||
| 63 | int scu_widget_tail(scu_config * cnf); | 63 | int scu_widget_tail(scu_config * cnf); |
| 64 | 64 | ||
| 65 | void scu_widget_tail_usage(scu_config * cnf); | ||
| 66 | void scu_widget_tail_follow_alarm(int sig); | ||
| 67 | 65 | ||
| 68 | #endif /* end of header */ | 66 | #endif /* end of header */ |
diff --git a/src/widget-zcat.c b/src/widget-zcat.c index 7b58ebc..bb122e6 100644 --- a/src/widget-zcat.c +++ b/src/widget-zcat.c | |||
| @@ -96,9 +96,14 @@ const uint8_t scm_magic_lzma[6] = { 0xfd, 0x37, 0x7a, 0x58, 0x5a, 0x00 }; // ta | |||
| 96 | #pragma mark - Prototypes | 96 | #pragma mark - Prototypes |
| 97 | #endif | 97 | #endif |
| 98 | 98 | ||
| 99 | int scu_widget_zcat_bz2(scu_config * cnf); | ||
| 100 | int scu_widget_zcat_gz(scu_config * cnf); | ||
| 101 | int scu_widget_zcat_lzma(scu_config * cnf); | ||
| 99 | #ifdef USE_LZMA | 102 | #ifdef USE_LZMA |
| 100 | int scu_widget_zcat_lzma_perror(scu_config * cnf, lzma_ret ret); | 103 | int scu_widget_zcat_lzma_perror(scu_config * cnf, lzma_ret ret); |
| 101 | #endif | 104 | #endif |
| 105 | int scu_widget_zcat_lzw(scu_config * cnf); | ||
| 106 | void scu_widget_zcat_usage(scu_config * cnf); | ||
| 102 | 107 | ||
| 103 | 108 | ||
| 104 | ///////////////// | 109 | ///////////////// |
diff --git a/src/widget-zcat.h b/src/widget-zcat.h index d51d4cd..ebdb6c8 100644 --- a/src/widget-zcat.h +++ b/src/widget-zcat.h | |||
| @@ -61,11 +61,6 @@ | |||
| 61 | #endif | 61 | #endif |
| 62 | 62 | ||
| 63 | int scu_widget_zcat(scu_config * cnf); | 63 | int scu_widget_zcat(scu_config * cnf); |
| 64 | int scu_widget_zcat_bz2(scu_config * cnf); | ||
| 65 | int scu_widget_zcat_gz(scu_config * cnf); | ||
| 66 | int scu_widget_zcat_lzma(scu_config * cnf); | ||
| 67 | int scu_widget_zcat_lzw(scu_config * cnf); | ||
| 68 | 64 | ||
| 69 | void scu_widget_zcat_usage(scu_config * cnf); | ||
| 70 | 65 | ||
| 71 | #endif /* end of header */ | 66 | #endif /* end of header */ |
