summaryrefslogtreecommitdiffstats
path: root/fish/fish.h
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-21 10:50:25 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-21 10:50:25 +0100
commit6391d1a7cfa10337a75465c72d49df3c9ebc65ca (patch)
tree84072813ae8e8790cc42c02fcb71cd04e2a1bc5d /fish/fish.h
parentfcd75e021a12fbd93c4d51fbca7844fdb4f7436f (diff)
downloadlibguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.tar.gz
libguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.tar.xz
libguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.zip
fish: Change 'int argc' to 'size_t argc' throughout.
Diffstat (limited to 'fish/fish.h')
-rw-r--r--fish/fish.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/fish/fish.h b/fish/fish.h
index 23403575..b94277de 100644
--- a/fish/fish.h
+++ b/fish/fish.h
@@ -83,7 +83,7 @@ extern char *read_key (const char *param);
/* in cmds.c (auto-generated) */
extern void list_commands (void);
extern int display_command (const char *cmd);
-extern int run_action (const char *cmd, int argc, char *argv[]);
+extern int run_action (const char *cmd, size_t argc, char *argv[]);
/* in completion.c (auto-generated) */
extern char **do_completion (const char *text, int start, int end);
@@ -93,40 +93,40 @@ extern int complete_dest_paths;
extern char *complete_dest_paths_generator (const char *text, int state);
/* in alloc.c */
-extern int run_alloc (const char *cmd, int argc, char *argv[]);
-extern int run_sparse (const char *cmd, int argc, char *argv[]);
+extern int run_alloc (const char *cmd, size_t argc, char *argv[]);
+extern int run_sparse (const char *cmd, size_t argc, char *argv[]);
extern int alloc_disk (const char *filename, const char *size,
int add, int sparse);
extern int parse_size (const char *str, off_t *size_rtn);
/* in copy.c */
-extern int run_copy_in (const char *cmd, int argc, char *argv[]);
-extern int run_copy_out (const char *cmd, int argc, char *argv[]);
+extern int run_copy_in (const char *cmd, size_t argc, char *argv[]);
+extern int run_copy_out (const char *cmd, size_t argc, char *argv[]);
/* in echo.c */
-extern int run_echo (const char *cmd, int argc, char *argv[]);
+extern int run_echo (const char *cmd, size_t argc, char *argv[]);
/* in edit.c */
-extern int run_edit (const char *cmd, int argc, char *argv[]);
+extern int run_edit (const char *cmd, size_t argc, char *argv[]);
/* in hexedit.c */
-extern int run_hexedit (const char *cmd, int argc, char *argv[]);
+extern int run_hexedit (const char *cmd, size_t argc, char *argv[]);
/* in inspect.c */
extern void inspect_mount (void);
extern void print_inspect_prompt (void);
/* in lcd.c */
-extern int run_lcd (const char *cmd, int argc, char *argv[]);
+extern int run_lcd (const char *cmd, size_t argc, char *argv[]);
/* in glob.c */
-extern int run_glob (const char *cmd, int argc, char *argv[]);
+extern int run_glob (const char *cmd, size_t argc, char *argv[]);
/* in man.c */
-extern int run_man (const char *cmd, int argc, char *argv[]);
+extern int run_man (const char *cmd, size_t argc, char *argv[]);
/* in more.c */
-extern int run_more (const char *cmd, int argc, char *argv[]);
+extern int run_more (const char *cmd, size_t argc, char *argv[]);
/* in prep.c */
struct prep_data {
@@ -152,17 +152,17 @@ extern void progress_callback (guestfs_h *g, void *data, int proc_nr, int serial
/* in rc.c (remote control) */
extern void rc_listen (void) __attribute__((noreturn));
-extern int rc_remote (int pid, const char *cmd, int argc, char *argv[],
+extern int rc_remote (int pid, const char *cmd, size_t argc, char *argv[],
int exit_on_error);
/* in reopen.c */
-extern int run_reopen (const char *cmd, int argc, char *argv[]);
+extern int run_reopen (const char *cmd, size_t argc, char *argv[]);
/* in supported.c */
-extern int run_supported (const char *cmd, int argc, char *argv[]);
+extern int run_supported (const char *cmd, size_t argc, char *argv[]);
/* in time.c */
-extern int run_time (const char *cmd, int argc, char *argv[]);
+extern int run_time (const char *cmd, size_t argc, char *argv[]);
/* in tilde.c */
extern char *try_tilde_expansion (char *path);