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

always include <config.h> before any other file

* test/cpgbench.c: Include <config.h> before any other file.
* test/cpgbenchzc.c: Ditto.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2191 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 16 лет назад
Родитель
Сommit
84f1fbb53f
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      test/cpgbench.c
  2. 1 1
      test/cpgbenchzc.c

+ 1 - 1
test/cpgbench.c

@@ -1,4 +1,3 @@
-#include <assert.h>
 /*
  * Copyright (c) 2006, 2009 Red Hat, Inc.
  *
@@ -35,6 +34,7 @@
 
 #include <config.h>
 
+#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

+ 1 - 1
test/cpgbenchzc.c

@@ -1,4 +1,3 @@
-#include <assert.h>
 /*
  * Copyright (c) 2006, 2009 Red Hat, Inc.
  *
@@ -35,6 +34,7 @@
 
 #include <config.h>
 
+#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>