--- db/command.c | 2 +- include/linux.h | 2 +- libxcmd/command.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/command.c b/db/command.c index 02f778b9..65d8a056 100644 --- a/db/command.c +++ b/db/command.c @@ -84,7 +84,7 @@ command( dbprintf(_(" arguments\n")); return 0; } - platform_getoptreset(); + getoptreset(); return ct->cfunc(argc, argv); } diff --git a/include/linux.h b/include/linux.h index bef4ea00..1905640f 100644 --- a/include/linux.h +++ b/include/linux.h @@ -74,7 +74,7 @@ static __inline__ int test_xfs_path(const char *path) return (statfsbuf.f_type == 0x58465342); /* XFSB */ } -static __inline__ void platform_getoptreset(void) +static __inline__ void getoptreset(void) { extern int optind; optind = 0; diff --git a/libxcmd/command.c b/libxcmd/command.c index 7e37a9d6..610b3e0c 100644 --- a/libxcmd/command.c +++ b/libxcmd/command.c @@ -92,7 +92,7 @@ command( argc-1, cmd, ct->argmin, ct->argmax); return 0; } - platform_getoptreset(); + getoptreset(); return ct->cfunc(argc, argv); } -- 2.31.1