Просмотр исходного кода

Proper C declaration without parameters

tevador 7 лет назад
Родитель
Сommit
ac22aed121
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/randomx.h

+ 1 - 1
src/randomx.h

@@ -87,7 +87,7 @@ randomx_dataset *randomx_alloc_dataset(randomx_flags flags);
  *
  *
  * @return the number of items contained in the dataset.
  * @return the number of items contained in the dataset.
 */
 */
-unsigned long randomx_dataset_item_count();
+unsigned long randomx_dataset_item_count(void);
 
 
 /**
 /**
  * Initializes dataset items.
  * Initializes dataset items.