diff --git a/src/runtime/proc.c b/src/runtime/proc.c index 860701ee583..3f4179d473b 100644 --- a/src/runtime/proc.c +++ b/src/runtime/proc.c @@ -31,7 +31,7 @@ enum GoidCacheBatch = 16, }; -SchedType runtime·sched; +SchedT runtime·sched; int32 runtime·gomaxprocs; uint32 runtime·needextram; bool runtime·iscgo; diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 386b09b96bc..7fefbc2997d 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -60,7 +60,7 @@ typedef struct SudoG SudoG; typedef struct Mutex Mutex; typedef struct M M; typedef struct P P; -typedef struct SchedType SchedType; +typedef struct SchedT SchedT; typedef struct Note Note; typedef struct Slice Slice; typedef struct String String; @@ -434,7 +434,7 @@ enum { MaxGomaxprocs = 1<<8, }; -struct SchedType +struct SchedT { Mutex lock; @@ -753,7 +753,7 @@ extern DebugVars runtime·debug; extern uintptr runtime·maxstacksize; extern Note runtime·signote; extern ForceGCState runtime·forcegc; -extern SchedType runtime·sched; +extern SchedT runtime·sched; extern int32 runtime·newprocs; /*