diff options
author | dzwdz | 2023-08-14 18:51:07 +0200 |
---|---|---|
committer | dzwdz | 2023-08-14 18:51:07 +0200 |
commit | 642b5fb0007b64c77d186fcb018d571152ee1d47 (patch) | |
tree | 1c466461f3602d306be309a053edae558ef2568e /src/user/lib/vendor/getopt/getopt.h | |
parent | 8050069c57b729c18c19b1a03ab6e4bf63b4735e (diff) |
reorganization: first steps
Diffstat (limited to 'src/user/lib/vendor/getopt/getopt.h')
-rw-r--r-- | src/user/lib/vendor/getopt/getopt.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/user/lib/vendor/getopt/getopt.h b/src/user/lib/vendor/getopt/getopt.h deleted file mode 100644 index 4cb075c..0000000 --- a/src/user/lib/vendor/getopt/getopt.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Adapted from https://github.com/skeeto/getopt by Chris Wellons */ - -/* A minimal POSIX getopt() implementation in ANSI C - * - * This is free and unencumbered software released into the public domain. - * - * This implementation supports the convention of resetting the option - * parser by assigning optind to 0. This resets the internal state - * appropriately. - * - * Ref: http://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html - */ -#ifndef GETOPT_H -#define GETOPT_H - -extern int optind, opterr, optopt; -extern char *optarg; - -int getopt(int argc, char * const argv[], const char *optstring); - -#endif |