diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2021-04-05 11:05:59 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2021-04-13 19:26:03 +0200 |
commit | c43dfe6ef88910eeff96c76a424e74a554d11c55 (patch) | |
tree | 2df82de8e41c27afaf17c463f6b18961f97ccb8e /src/irmd/prog_table.h | |
parent | 809e4d1957daa701a3390b0526b125cc263bfe26 (diff) | |
download | ouroboros-c43dfe6ef88910eeff96c76a424e74a554d11c55.tar.gz ouroboros-c43dfe6ef88910eeff96c76a424e74a554d11c55.zip |
irmd: Remove unused variable in prog_table
This removes a program name variable that was not used anymore.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/prog_table.h')
-rw-r--r-- | src/irmd/prog_table.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/irmd/prog_table.h b/src/irmd/prog_table.h index 35fb7784..eed046c8 100644 --- a/src/irmd/prog_table.h +++ b/src/irmd/prog_table.h @@ -30,15 +30,13 @@ struct prog_entry { struct list_head next; - char * progn; /* name for irmd */ char * prog; /* name of binary */ uint32_t flags; char ** argv; struct list_head names; /* names that all instances will listen for */ }; -struct prog_entry * prog_entry_create(char * progn, - char * prog, +struct prog_entry * prog_entry_create(char * prog, uint32_t flags, char ** argv); @@ -59,7 +57,4 @@ void prog_table_del(struct list_head * prog_table, struct prog_entry * prog_table_get(struct list_head * prog_table, char * prog); -struct prog_entry * prog_table_get_by_progn(struct list_head * prog_table, - char * progn); - #endif /* OUROBOROS_IRMD_PROG_TABLE_H */ |