fix spelling mistake

This commit is contained in:
luwenpeng
2024-04-21 11:30:41 +08:00
parent 4d55f4ed95
commit bb7d7410c9
35 changed files with 70 additions and 70 deletions

View File

@@ -1,7 +1,7 @@
#ifndef _CONFIG_H
#define _CONFIG_H
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C"
{
#endif
@@ -30,7 +30,7 @@ struct stellar_config
int stellar_load_config(const char *file, struct stellar_config *config);
void stellar_print_config(struct stellar_config *config);
#ifdef __cpluscplus
#ifdef __cplusplus
}
#endif

View File

@@ -1,7 +1,7 @@
#ifndef _LOGO_H
#define _LOGO_H
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C"
{
#endif
@@ -20,7 +20,7 @@ static const char logo_str[] =
" \\__ \\ | |_ | __/ | | | | | (_| | | |\n"
" |___/ \\__| \\___| |_| |_| \\__,_| |_|\n";
#ifdef __cpluscplus
#ifdef __cplusplus
}
#endif

View File

@@ -1,7 +1,7 @@
#ifndef _STAT_H
#define _STAT_H
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C"
{
#endif
@@ -25,7 +25,7 @@ void stellar_stat_free(struct stellar_stat *stat);
void stellar_stat_output(struct stellar_stat *stat);
void stellar_stat_merge(struct stellar_stat *stat, const struct thread_stat *thr_stat, uint16_t thr_idx);
#ifdef __cpluscplus
#ifdef __cplusplus
}
#endif

View File

@@ -1,7 +1,7 @@
#ifndef _STELLAR_H
#define _STELLAR_H
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C"
{
#endif
@@ -33,7 +33,7 @@ static inline uint8_t stellar_get_current_thread_index()
return 0;
}
#ifdef __cpluscplus
#ifdef __cplusplus
}
#endif