* tests/test-base64.c: Include required header files. Remove
authorSimon Josefsson <simon@josefsson.org>
Tue, 28 Dec 2004 02:36:14 +0000 (02:36 +0000)
committerSimon Josefsson <simon@josefsson.org>
Tue, 28 Dec 2004 02:36:14 +0000 (02:36 +0000)
unused variables.

ChangeLog
tests/test-base64.c

index efa01b9..13bd0b2 100644 (file)
--- 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.
index e43bee0..67aca2c 100755 (executable)
    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;