Преглед на файлове

Tests: Fix pedantic warning about missing void in C function declaration

Sean McBride преди 5 години
родител
ревизия
075ed33750
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      Tests/XCTest/StaticLibExample/StaticLibExample.c
  2. 1 1
      Tests/XCTest/StaticLibExample/StaticLibExample.h

+ 1 - 1
Tests/XCTest/StaticLibExample/StaticLibExample.c

@@ -1,6 +1,6 @@
 #include "StaticLibExample.h"
 
-int FourtyFour()
+int FourtyFour(void)
 {
   return 44;
 }

+ 1 - 1
Tests/XCTest/StaticLibExample/StaticLibExample.h

@@ -1 +1 @@
-int FourtyFour();
+int FourtyFour(void);