mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 22:55:04 +02:00
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>
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user