mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(dest_info_init, src_info_init, copy): Add `extern' keyword.
This commit is contained in:
1 parent
03f9a376a4
commit
68c7c2d2fa
1 file changed
+3
-3
+3
-3
@@ -698,7 +698,7 @@ triple_free (void *x)
|
||||
|
||||
/* Initialize the hash table implementing a set of F_triple entries
|
||||
corresponding to destination files. */
|
||||
void
|
||||
extern void
|
||||
dest_info_init (struct cp_options *x)
|
||||
{
|
||||
x->dest_info
|
||||
@@ -711,7 +711,7 @@ dest_info_init (struct cp_options *x)
|
||||
|
||||
/* Initialize the hash table implementing a set of F_triple entries
|
||||
corresponding to source files listed on the command line. */
|
||||
void
|
||||
extern void
|
||||
src_info_init (struct cp_options *x)
|
||||
{
|
||||
|
||||
@@ -1667,7 +1667,7 @@ valid_options (const struct cp_options *co)
|
||||
same as) DST_PATH; otherwise, set it to zero.
|
||||
Return 0 if successful, 1 if an error occurs. */
|
||||
|
||||
int
|
||||
extern int
|
||||
copy (const char *src_path, const char *dst_path,
|
||||
int nonexistent_dst, const struct cp_options *options,
|
||||
int *copy_into_self, int *rename_succeeded)
|
||||
|
||||
Reference in new issue
Block a user