Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
b6526ce6
Commit
b6526ce6
authored
3 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Added clang-format directives.
parent
de02080a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#14164
failed
3 years ago
Stage: external
Changes
4
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/calendar.h
+4
-0
4 additions, 0 deletions
src/calendar.h
src/cdi_int.h
+4
-0
4 additions, 0 deletions
src/cdi_int.h
src/dmemory.h
+4
-0
4 additions, 0 deletions
src/dmemory.h
src/timebase.h
+4
-0
4 additions, 0 deletions
src/timebase.h
with
16 additions
and
0 deletions
src/calendar.h
+
4
−
0
View file @
b6526ce6
#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:
...
...
This diff is collapsed.
Click to expand it.
src/cdi_int.h
+
4
−
0
View file @
b6526ce6
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
src/dmemory.h
+
4
−
0
View file @
b6526ce6
#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:
...
...
This diff is collapsed.
Click to expand it.
src/timebase.h
+
4
−
0
View file @
b6526ce6
#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 */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment