Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/converters/mpack/files/patch-unixunpk.c
16151 views
1
--- unixunpk.c.orig Mon Jul 21 23:51:55 2003
2
+++ unixunpk.c Sun Mar 26 23:36:54 2006
3
@@ -23,17 +23,18 @@
4
* SOFTWARE.
5
*/
6
#include <stdio.h>
7
+#include <stdlib.h>
8
+#include <unistd.h>
9
#include "version.h"
10
#include "part.h"
11
12
-extern int optind;
13
-extern char *optarg;
14
-
15
extern int overwrite_files;
16
extern int didchat;
17
int quiet;
18
19
void usage(void);
20
+int handleMessage(struct part *inpart, char *defaultContentType,
21
+ int inAppleDouble, int extractText);
22
23
int main(int argc, char **argv)
24
{
25
@@ -100,7 +101,7 @@
26
27
void usage(void) {
28
fprintf(stderr, "munpack version %s\n", MPACK_VERSION);
29
- fprintf(stderr, "usage: munpack [-f] [-q] [-C directory] [files...]\n");
30
+ fprintf(stderr, "usage: munpack [-f] [-q] [-t] [-C directory] [files...]\n");
31
exit(1);
32
}
33
34
35