Remove now-duplicated stdarg.h include · RetVal/libgit2@4f46a98 · GitHub
Skip to content

Commit 4f46a98

Browse files
author
Edward Thomson
committed
Remove now-duplicated stdarg.h include
1 parent ab0af29 commit 4f46a98

10 files changed

Lines changed: 0 additions & 16 deletions

File tree

‎src/buffer.c‎

Lines changed: 0 additions & 1 deletion

‎src/buffer.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
#ifndef INCLUDE_buffer_h__
88
#define INCLUDE_buffer_h__
99

10-
#include <stdarg.h>
11-
1210
#include "common.h"
1311
#include "git2/strarray.h"
1412
#include "git2/buffer.h"

‎src/commit.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#include "signature.h"
1818
#include "message.h"
1919

20-
#include <stdarg.h>
21-
2220
void git_commit__free(void *_commit)
2321
{
2422
git_commit *commit = _commit;

‎src/errors.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include "global.h"
99
#include "posix.h"
1010
#include "buffer.h"
11-
#include <stdarg.h>
1211

1312
/********************************************
1413
* New error handling

‎src/filebuf.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* This file is part of libgit2, distributed under the GNU GPL v2 with
55
* a Linking Exception. For full terms see the included COPYING file.
66
*/
7-
#include <stdarg.h>
8-
97
#include "common.h"
108
#include "filebuf.h"
119
#include "fileops.h"

‎src/object.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* This file is part of libgit2, distributed under the GNU GPL v2 with
55
* a Linking Exception. For full terms see the included COPYING file.
66
*/
7-
#include <stdarg.h>
8-
97
#include "git2/object.h"
108

119
#include "common.h"

‎src/path.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#else
1313
#include <dirent.h>
1414
#endif
15-
#include <stdarg.h>
1615
#include <stdio.h>
1716
#include <ctype.h>
1817

‎src/repository.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* This file is part of libgit2, distributed under the GNU GPL v2 with
55
* a Linking Exception. For full terms see the included COPYING file.
66
*/
7-
#include <stdarg.h>
87
#include <ctype.h>
98

109
#include "git2/object.h"

‎src/settings.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* a Linking Exception. For full terms see the included COPYING file.
66
*/
77

8-
#include <stdarg.h>
9-
108
#include <git2.h>
119
#include "common.h"
1210
#include "fileops.h"

‎src/trace.h‎

Lines changed: 0 additions & 2 deletions

0 commit comments

Comments
 (0)