summaryrefslogtreecommitdiff
path: root/data/tar/static.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/tar/static.diff
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/tar/static.diff')
-rw-r--r--data/tar/static.diff64
1 files changed, 64 insertions, 0 deletions
diff --git a/data/tar/static.diff b/data/tar/static.diff
new file mode 100644
index 000000000..41733b504
--- /dev/null
+++ b/data/tar/static.diff
@@ -0,0 +1,64 @@
+diff -r -u tar-1.19/lib/argp-fmtstream.h tar-1.19+iPhone/lib/argp-fmtstream.h
+--- tar-1.19/lib/argp-fmtstream.h 2007-09-28 13:11:36.000000000 +0000
++++ tar-1.19+iPhone/lib/argp-fmtstream.h 2007-12-26 23:04:38.000000000 +0000
+@@ -135,15 +135,15 @@
+ const char *__fmt, ...)
+ __attribute__ ((__format__ (printf, 2, 3)));
+
+-extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
+-extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
++static int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
++static int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
+
+-extern int __argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
+-extern int argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
++static int __argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
++static int argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
+
+-extern size_t __argp_fmtstream_write (argp_fmtstream_t __fs,
++static size_t __argp_fmtstream_write (argp_fmtstream_t __fs,
+ const char *__str, size_t __len);
+-extern size_t argp_fmtstream_write (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_write (argp_fmtstream_t __fs,
+ const char *__str, size_t __len);
+
+ /* Access macros for various bits of state. */
+@@ -155,25 +155,25 @@
+ #define __argp_fmtstream_wmargin argp_fmtstream_wmargin
+
+ /* Set __FS's left margin to LMARGIN and return the old value. */
+-extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
+ size_t __lmargin);
+ extern size_t __argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
+ size_t __lmargin);
+
+ /* Set __FS's right margin to __RMARGIN and return the old value. */
+-extern size_t argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
+ size_t __rmargin);
+ extern size_t __argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
+ size_t __rmargin);
+
+ /* Set __FS's wrap margin to __WMARGIN and return the old value. */
+-extern size_t argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
+ size_t __wmargin);
+ extern size_t __argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
+ size_t __wmargin);
+
+ /* Return the column number of the current output point in __FS. */
+-extern size_t argp_fmtstream_point (argp_fmtstream_t __fs);
++static size_t argp_fmtstream_point (argp_fmtstream_t __fs);
+ extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs);
+
+ /* Internal routines. */
+@@ -198,7 +198,7 @@
+ #endif
+
+ #ifndef ARGP_FS_EI
+-#define ARGP_FS_EI extern inline
++#define ARGP_FS_EI static inline
+ #endif
+
+ ARGP_FS_EI size_t