mirror of
https://github.com/capstone-engine/capstone
synced 2026-08-11 16:26:07 -04:00
* Add workflow to check for C formatting Rename run-clang-tidy.sh for consistency with clang-format script Don't align trailing comments. It leads to unreproducable formatting. Reformat some comments leading in-compilable up code after clang-format Format generated compatibility header. Add clang-format script Be more verbose with clean-up scripts and fail early. Pass clang-format via command line Install clang-format for the HeaderPatcher * Format code with clang-format-17
14 lines
377 B
C
14 lines
377 B
C
#ifndef CSTOOL_GETOPT_H
|
|
#define CSTOOL_GETOPT_H
|
|
|
|
// global
|
|
extern int opterr, /* if error message should be printed */
|
|
optind, /* index into parent argv vector */
|
|
optopt, /* character checked for validity */
|
|
optreset; /* reset getopt */
|
|
|
|
extern const char *optarg; /* argument associated with option */
|
|
|
|
int getopt(int nargc, char *const nargv[], const char *ostr);
|
|
|
|
#endif
|