Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
dajobe committed Sep 12, 2023
1 parent 88b411a commit 6fca543
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/rasqal_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void rasqal_system_free(void *ptr);
#define PRAGMA_IGNORE_WARNING_FORMAT_TRUNCATION_START \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wformat-truncation\"")
#define PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_OVERFLOW_START \
#define PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_START \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wredundant-decls\"")
#define PRAGMA_IGNORE_WARNING_END \
Expand All @@ -215,7 +215,7 @@ void rasqal_system_free(void *ptr);
_Pragma ("GCC diagnostic push")
#define PRAGMA_IGNORE_WARNING_FORMAT_TRUNCATION_START \
_Pragma ("GCC diagnostic push")
#define PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_OVERFLOW_START \
#define PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_START \
_Pragma ("GCC diagnostic push"
#define PRAGMA_IGNORE_WARNING_END \
_Pragma ("GCC diagnostic pop")
Expand All @@ -225,7 +225,7 @@ void rasqal_system_free(void *ptr);
#define PRAGMA_IGNORE_WARNING_FORMAT_NONLITERAL_START
#define PRAGMA_IGNORE_WARNING_FORMAT_OVERFLOW_START
#define PRAGMA_IGNORE_WARNING_FORMAT_TRUNCATION_START
#define PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_OVERFLOW_START
#define PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_START
#define PRAGMA_IGNORE_WARNING_END
#define FALLTHROUGH_IS_OK
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/timegm.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ rasqal_timegm(struct tm *tm)

#else

PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_OVERFLOW_START
PRAGMA_IGNORE_WARNING_REDUNDANT_DECLS_START
/* function prototype may be in stdlib.h or stdio.h or nowhere */
extern char *getenv(const char *);
extern int setenv(const char *name, const char *value, int replace);
Expand Down

0 comments on commit 6fca543

Please sign in to comment.