aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/support/cpu_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/support/cpu_test.c')
-rw-r--r--test/core/support/cpu_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/support/cpu_test.c b/test/core/support/cpu_test.c
index 72db53fa49..3c49486651 100644
--- a/test/core/support/cpu_test.c
+++ b/test/core/support/cpu_test.c
@@ -57,12 +57,12 @@ struct cpu_test {
uint32_t ncores;
int is_done;
gpr_cv done_cv;
- int *used; /* is this core used? */
+ int* used; /* is this core used? */
unsigned r; /* random number */
};
-static void worker_thread(void *arg) {
- struct cpu_test *ct = (struct cpu_test *)arg;
+static void worker_thread(void* arg) {
+ struct cpu_test* ct = (struct cpu_test*)arg;
uint32_t cpu;
unsigned r = 12345678;
unsigned i, j;
@@ -128,7 +128,7 @@ static void cpu_test(void) {
gpr_free(ct.used);
}
-int main(int argc, char *argv[]) {
+int main(int argc, char* argv[]) {
grpc_test_init(argc, argv);
cpu_test();
return 0;