Skip to content
Snippets Groups Projects
Commit b6526ce6 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added clang-format directives.

parent de02080a
No related branches found
No related tags found
No related merge requests found
Pipeline #14164 failed
#ifndef CALENDAR_H
#define CALENDAR_H
// clang-format off
#include <inttypes.h>
#ifdef __cplusplus
......@@ -20,6 +22,8 @@ int days_per_month(int calendar, int year, int month);
}
#endif
// clang-format on
#endif /* CALENDAR_H */
/*
* Local Variables:
......
......@@ -506,6 +506,8 @@ size_t cdiGetPageSize(bool largePageAlign);
void zaxisGetIndexList(int nzaxis, int *zaxisIndexList);
// clang-format off
#ifdef __cplusplus
extern "C" {
#endif
......@@ -529,6 +531,8 @@ int cdiBaseFiletype(int filetype);
}
#endif
// clang-format on
#endif /* CDI_INT_H */
/*
* Local Variables:
......
#ifndef _DMEMORY_H
#define _DMEMORY_H
// clang-format off
#include <stdio.h>
// if DEBUG_MEMORY is defined setenv MEMORY_DEBUG to debug memory
......@@ -43,6 +45,8 @@ extern void memFree (void *ptr, const char *file, const char *functionname,
#endif /* DEBUG_MEMORY */
// clang-format on
#endif /* _DMEMORY_H */
/*
* Local Variables:
......
#ifndef TIMEBASE_H
#define TIMEBASE_H
// clang-format off
#include <inttypes.h>
#ifdef __cplusplus
......@@ -30,4 +32,6 @@ void decode_juldaysec(int calendar, int64_t julday, int secofday, int *year, int
}
#endif
// clang-format on
#endif /* TIMEBASE_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment