changeset 29233:6ae668043e37

Use standard idioms.
author Bruno Haible <bruno@clisp.org>
date Wed, 26 Dec 2007 16:02:46 +0100
parents 92091326f121
children 0eb7646858e6
files ChangeLog tests/test-memmem.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Dec 26 16:01:15 2007 +0100
+++ b/ChangeLog	Wed Dec 26 16:02:46 2007 +0100
@@ -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
--- a/tests/test-memmem.c	Wed Dec 26 16:01:15 2007 +0100
+++ b/tests/test-memmem.c	Wed Dec 26 16:02:46 2007 +0100
@@ -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 <string.h>
+
 #include <stdio.h>
-#include <string.h>
 #include <stdlib.h>
 
 #define ASSERT(expr) \