Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
b0fb0899
Commit
b0fb0899
authored
May 24, 2017
by
Uwe Schulzweida
Browse files
Remove NumAliases.
parent
02119b09
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules.cc
View file @
b0fb0899
...
...
@@ -34,7 +34,6 @@
// for std::sort()
#include <algorithm>
int
NumAliases
;
/* \cond */
void
*
Adisit
(
void
*
argument
);
...
...
@@ -779,7 +778,7 @@ int add_alias(std::string alias, std::string original) {
Error
(
"alias %s could not be added: alias name already exists as an operator"
,
alias
.
c_str
());
}
aliases
[
alias
]
=
original
;
NumAliases
++
;
return
0
;
}
/* clang-format off */
...
...
src/modules.h
View file @
b0fb0899
...
...
@@ -37,7 +37,6 @@ typedef struct {
short
streamOutCnt
;
// Number of output streams
}
modules_t
;
extern
int
NumAliases
;
/***
vector for library handles for loaded custom modules
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment