mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00:00
tinyexpr.h: rename __TINYEXPR_H__ include guard
Identifiers that start with _ or include two consecutive underscores are reserved for the implementation
This commit is contained in:
parent
fc7989cecd
commit
6ce0b93851
1 changed files with 3 additions and 3 deletions
|
@ -24,8 +24,8 @@
|
||||||
|
|
||||||
// This version was altered and ported to C++ for inclusion in fish.
|
// This version was altered and ported to C++ for inclusion in fish.
|
||||||
|
|
||||||
#ifndef __TINYEXPR_H__
|
#ifndef TINYEXPR_H
|
||||||
#define __TINYEXPR_H__
|
#define TINYEXPR_H
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
TE_ERROR_NONE = 0,
|
TE_ERROR_NONE = 0,
|
||||||
|
@ -51,4 +51,4 @@ typedef struct te_error_t {
|
||||||
/* Returns NaN on error. */
|
/* Returns NaN on error. */
|
||||||
double te_interp(const wchar_t *expression, te_error_t *error);
|
double te_interp(const wchar_t *expression, te_error_t *error);
|
||||||
|
|
||||||
#endif /*__TINYEXPR_H__*/
|
#endif /* TINYEXPR_H */
|
||||||
|
|
Loading…
Reference in a new issue