j1939sr: remove legacy program_invocation_name/program_invocation_short_name code
- remove legacy program_invocation_name/program_invocation_short_name code Signed-off-by: Peter Seiderer <ps.report@gmx.net>pull/552/head
parent
d337863d91
commit
a63bf468c2
|
|
@ -94,9 +94,6 @@ int main(int argc, char **argv)
|
||||||
struct pollfd pfd[2];
|
struct pollfd pfd[2];
|
||||||
uint8_t *buf;
|
uint8_t *buf;
|
||||||
|
|
||||||
#ifdef _GNU_SOURCE
|
|
||||||
program_invocation_name = program_invocation_short_name;
|
|
||||||
#endif
|
|
||||||
/* argument parsing */
|
/* argument parsing */
|
||||||
while ((opt = getopt_long(argc, argv, optstring, long_opts, NULL)) != -1)
|
while ((opt = getopt_long(argc, argv, optstring, long_opts, NULL)) != -1)
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue