]> diplodocus.org Git - nmh/blobdiff - sbr/m_rand.c
Corrected comment: whom(1) does not use context_foil().
[nmh] / sbr / m_rand.c
index 76e5e17f3fecca82f2dd9807cf99fa5af0df66cb..1accdc89324dd295b4638b3f0c5b254546eb3d0d 100644 (file)
@@ -5,13 +5,13 @@
  * complete copyright information.
  */
 
-#include <stdlib.h>  /* for abs(), srand(), rand(), arc4random() */
+#include <stdlib.h>
 #include <stdbool.h>
-#include <stdio.h>   /* for fopen(), fread(), fclose() */
-#include <unistd.h>  /* for getpid() */
-#include <time.h>    /* for time() */
+#include <stdio.h>
+#include <unistd.h>
+#include <time.h>
 
-#include <config.h>
+#include "config.h"
 #include "m_rand.h"
 
 #if !HAVE_ARC4RANDOM
@@ -20,7 +20,8 @@ static bool seeded = false;
 
 
 int
-m_rand (unsigned char *buf, size_t n) {
+m_rand (unsigned char *buf, size_t n)
+{
 #if !HAVE_ARC4RANDOM
   if (! seeded) {
     FILE *devurandom;