[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test-glob.c: fix warning
From: |
Simon Josefsson |
Subject: |
test-glob.c: fix warning |
Date: |
Wed, 20 May 2009 09:44:08 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux) |
Pushed.
/Simon
>From 68e581a8126f13b42cd8015091cc0b6716df44f7 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
Date: Wed, 20 May 2009 09:43:43 +0200
Subject: [PATCH] tests/test-glob.c: Include string.h for strcmp prototype.
---
ChangeLog | 4 ++++
tests/test-glob.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2c13295..fe17d77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-05-20 Simon Josefsson <address@hidden>
+ * tests/test-glob.c: Include string.h for strcmp prototype.
+
+2009-05-20 Simon Josefsson <address@hidden>
+
* modules/getdelim (Depends-on): Add explicit stdint, although it
was implicitly already pulled in via realloc-posix.
* lib/getdelim.c: Get SIZE_MAX from stdint.h.
diff --git a/tests/test-glob.c b/tests/test-glob.c
index cd1ea4d..fc5ec30 100644
--- a/tests/test-glob.c
+++ b/tests/test-glob.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#define ASSERT(expr) \
do \
--
1.6.2.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- test-glob.c: fix warning,
Simon Josefsson <=