Skip to content

Commit

Permalink
chore: Fix include guards caught by clang-tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Apr 14, 2024
1 parent b0451aa commit 7ee05f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions error.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef __ERROR_H__
#define __ERROR_H__
#ifndef FILTERGEN_ERROR_H
#define FILTERGEN_ERROR_H

#include "input/sourcepos.h"

void filter_error(struct sourceposition *pos, const char *fmt, ...);

#endif /* __ERROR_H__ */
#endif /* FILTERGEN_ERROR_H */
6 changes: 3 additions & 3 deletions util.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#ifndef _FILTER_UTIL_H
#define _FILTER_UTIL_H 1
#ifndef FILTERGEN_UTIL_H
#define FILTERGEN_UTIL_H

#define APP(l, s) (l = strapp(l, s))
#define APP2(l, s1, s2) (l = strapp2(l, s1, s2))
Expand All @@ -29,4 +29,4 @@
#define NEG(t) (ent->whats_negated & (1 << F_##t))
#define NEGA(l, t) (NEG(t) ? APPS(l, "!") : l)

#endif /* _FILTER_UTIL_H */
#endif /* FILTERGEN_UTIL_H */

0 comments on commit 7ee05f0

Please sign in to comment.