Skip to content

Commit 4896289

Browse files
committed
Rename format specifying arguments
1 parent b4772b7 commit 4896289

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Modelica/Resources/C-Sources/ModelicaUtilities.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ void ModelicaMessage(const char *string);
131131
Output the message string (no format control).
132132
*/
133133

134-
void ModelicaFormatMessage(const char *string, ...) MODELICA_FORMATATTR_PRINTF;
134+
void ModelicaFormatMessage(const char *format, ...) MODELICA_FORMATATTR_PRINTF;
135135
/*
136136
Output the message under the same format control as the C-function printf.
137137
*/
138138

139-
void ModelicaVFormatMessage(const char *string, va_list args) MODELICA_FORMATATTR_VPRINTF;
139+
void ModelicaVFormatMessage(const char *format, va_list args) MODELICA_FORMATATTR_VPRINTF;
140140
/*
141141
Output the message under the same format control as the C-function vprintf.
142142
*/
@@ -153,24 +153,24 @@ void ModelicaWarning(const char *string);
153153
Output the warning message string (no format control).
154154
*/
155155

156-
void ModelicaFormatWarning(const char *string, ...) MODELICA_FORMATATTR_PRINTF;
156+
void ModelicaFormatWarning(const char *format, ...) MODELICA_FORMATATTR_PRINTF;
157157
/*
158158
Output the warning message under the same format control as the C-function printf.
159159
*/
160160

161-
void ModelicaVFormatWarning(const char *string, va_list args) MODELICA_FORMATATTR_VPRINTF;
161+
void ModelicaVFormatWarning(const char *format, va_list args) MODELICA_FORMATATTR_VPRINTF;
162162
/*
163163
Output the warning message under the same format control as the C-function vprintf.
164164
*/
165165

166-
MODELICA_NORETURN void ModelicaFormatError(const char *string, ...) MODELICA_NORETURNATTR MODELICA_FORMATATTR_PRINTF;
166+
MODELICA_NORETURN void ModelicaFormatError(const char *format, ...) MODELICA_NORETURNATTR MODELICA_FORMATATTR_PRINTF;
167167
/*
168168
Output the error message under the same format control as the C-function
169169
printf. This function never returns to the calling function,
170170
but handles the error similarly to an assert in the Modelica code.
171171
*/
172172

173-
MODELICA_NORETURN void ModelicaVFormatError(const char *string, va_list args) MODELICA_NORETURNATTR MODELICA_FORMATATTR_VPRINTF;
173+
MODELICA_NORETURN void ModelicaVFormatError(const char *format, va_list args) MODELICA_NORETURNATTR MODELICA_FORMATATTR_VPRINTF;
174174
/*
175175
Output the error message under the same format control as the C-function
176176
vprintf. This function never returns to the calling function,

0 commit comments

Comments
 (0)