changeset 5561:499478fd9cdb

* tests/test-base64.c: Include required header files. Remove unused variables.
author Simon Josefsson <simon@josefsson.org>
date Tue, 28 Dec 2004 02:36:14 +0000
parents c4421f9ee757
children 2479d10c3961
files ChangeLog tests/test-base64.c
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-28  Simon Josefsson  <jas@extundo.com>
+
+	* tests/test-base64.c: Include required header files.  Remove
+	unused variables.
+
 2004-12-23  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* modules/getdate (Depends-on): Remove alloca-opt.
--- a/tests/test-base64.c
+++ b/tests/test-base64.c
@@ -16,18 +16,23 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-#include "base64.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
+#include <stddef.h>
 #include <stdio.h>
+#include <stdbool.h>
 #include <string.h>
 
+#include "base64.h"
+
 int
 main (int argc, char *argv[])
 {
   const char *in = "abcdefghijklmnop";
   const char *b64in = "YWJjZGVmZw==";
   char out[255];
-  char *p;
   size_t len;
   bool ok;