mesa: include stdarg.h only where it's used

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Brian Paul
2015-02-24 16:55:53 -07:00
parent 6b06697b0d
commit 135b8c6530
5 changed files with 5 additions and 3 deletions

View File

@@ -27,6 +27,7 @@
* \author Felix Kuehling * \author Felix Kuehling
*/ */
#include <stdarg.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include <expat.h> #include <expat.h>

View File

@@ -42,7 +42,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
#include <stdarg.h>
#include "util/macros.h" #include "util/macros.h"

View File

@@ -28,6 +28,7 @@
*/ */
#include <stdarg.h>
#include "errors.h" #include "errors.h"
#include "enums.h" #include "enums.h"
#include "imports.h" #include "imports.h"

View File

@@ -42,8 +42,7 @@
* OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include <stdarg.h>
#include "imports.h" #include "imports.h"
#include "context.h" #include "context.h"
#include "mtypes.h" #include "mtypes.h"

View File

@@ -21,6 +21,8 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE. * DEALINGS IN THE SOFTWARE.
*/ */
#include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>