From e381b90efc90a6ec067dfcb1e048d98a8ed08070 Mon Sep 17 00:00:00 2001 From: goksu <25721443+goeksu@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:37:50 +0300 Subject: [PATCH] [ftbench] mlgetopt.h deleted It is accessable from libs so no longer needed to keep it in ftbench --- src/tools/ftbench/src/mlgetopt.h | 44 -------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/tools/ftbench/src/mlgetopt.h diff --git a/src/tools/ftbench/src/mlgetopt.h b/src/tools/ftbench/src/mlgetopt.h deleted file mode 100644 index ce981b1c6..000000000 --- a/src/tools/ftbench/src/mlgetopt.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * This is a cheap replacement for getopt() because that routine is not - * available on some platforms and behaves differently on other platforms. - * - * This code is hereby expressly placed in the public domain. - * mleisher@crl.nmsu.edu (Mark Leisher) - * 10 October 1997 - */ - -#ifndef MLGETOPT_H_ -#define MLGETOPT_H_ - -#ifdef VMS -#include -#define getopt local_getopt -#define optind local_optind -#define opterr local_opterr -#define optarg local_optarg -#endif - -#ifdef __cplusplus - extern "C" { -#endif - - extern int opterr; - extern int optind; - extern char* optarg; - - extern int getopt( -#ifdef __STDC__ - int argc, - char* const* argv, - const char* pattern -#endif - ); - -#ifdef __cplusplus - } -#endif - -#endif /* MLGETOPT_H_ */ - - -/* End */