X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=gclient.c;h=e0e0e7bf920cd0bc3933e5c9f62ae024be4437b4;hb=575686bb85fa36f326524c505e83c54abc0d2f2b;hp=fe83382f32a7566f8e6199e010eae48390b09830;hpb=1b5e13beb3acc2a08321ce687727e2cbbb3b954f;p=fio.git diff --git a/gclient.c b/gclient.c index fe83382f..e0e0e7bf 100644 --- a/gclient.c +++ b/gclient.c @@ -48,7 +48,7 @@ static GtkActionEntry results_menu_items[] = { { "PrintFile", GTK_STOCK_PRINT, "Print", "P", NULL, G_CALLBACK(results_print) }, { "CloseFile", GTK_STOCK_CLOSE, "Close", "W", NULL, G_CALLBACK(results_close) }, }; -static gint results_nmenu_items = ARRAY_SIZE(results_menu_items); +static gint results_nmenu_items = FIO_ARRAY_SIZE(results_menu_items); static const gchar *results_ui_string = " \ \ @@ -755,7 +755,7 @@ static void gfio_show_io_depths(GtkWidget *vbox, struct thread_stat *ts) GtkListStore *model; int i; const char *labels[] = { "Depth", "0", "1", "2", "4", "8", "16", "32", "64", ">= 64" }; - const int nr_labels = ARRAY_SIZE(labels); + const int nr_labels = FIO_ARRAY_SIZE(labels); GType types[nr_labels]; frame = gtk_frame_new("IO depths");