chiark / gitweb /
prefork-interp: ident, options
[chiark-utils.git] / cprogs / prefork.h
index cfbd715fe24355933e0c60c97530430dfcae9e31..eef6b2ca367d3700a90b3497faa41b1e5de7aeca 100644 (file)
@@ -51,7 +51,7 @@ extern const struct cmdinfo cmdinfos[];
 #define PREFORK_CMDINFOS \
   { "help",   0, .call=of_help                                         }, \
   { 0, 'g',   1,                    .sassignto= &ident                 }, \
-  { 0, 'G',   1, .call= ident_addstring                                }, \
+  { 0, 'G',   1, .call= off_ident_addstring                            }, \
   { 0, 'E',   1, .call= off_ident_addenv                               },
 
 void process_opts(const char *const **argv_io);
@@ -83,7 +83,8 @@ void fusagemessage(FILE *f);
 void usagemessage(void);
 void of_help(const struct cmdinfo *ci, const char *val);
 void of_iassign(const struct cmdinfo *ci, const char *val);
-void ident_addstring(const struct cmdinfo *ci, const char *string);
+void ident_addstring(const char *string);
+void off_ident_addstring(const struct cmdinfo *ci, const char *name);
 void off_ident_addenv(const struct cmdinfo *ci, const char *name);
 void ident_addinit(void);
 bool stabs_same_inode(struct stat *a, struct stat *b);