Use standard idioms.
authorBruno Haible <bruno@clisp.org>
Wed, 26 Dec 2007 15:02:46 +0000 (16:02 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 26 Dec 2007 15:02:46 +0000 (16:02 +0100)
ChangeLog
tests/test-memmem.c

index b4a87cc314b4b567120d819a625079fbbe712a34..fc6647fba5b9a46d78c1ac840bbd2f23e586c77d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-23  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-memmem.c: Include <string.h> first.
+
 2007-12-22  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_create_testdir): Change $auxdir while generating
index 935edbbc6d577841d4f1199d8a6b2a63b72caac3..50fdfb81e39b36a31d74bd4b4ca72b617a7ce10e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2004, 2007 Free Software Foundation
- * Written by Simon Josefsson
+ * Written by Bruno Haible and Eric Blake
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -17,8 +17,9 @@
 
 #include <config.h>
 
-#include <stdio.h>
 #include <string.h>
+
+#include <stdio.h>
 #include <stdlib.h>
 
 #define ASSERT(expr) \