Browse Source

entropy: Port to OpenBSD

OpenBSD's entropy design is superior to Linux.
master
Aaron Marcher 8 years ago
parent
commit
fd14804d6f
  1. 1
      README
  2. 6
      components/entropy.c

1
README

@ -61,4 +61,3 @@ Porting to OpenBSD is the current goal before thinking about a release.
The following functions are not portable at the moment: The following functions are not portable at the moment:
- wifi_{perc,essid} - wifi_{perc,essid}
- entropy

6
components/entropy.c

@ -14,5 +14,9 @@
bprintf("%d", num) : NULL; bprintf("%d", num) : NULL;
} }
#elif defined(__OpenBSD__) #elif defined(__OpenBSD__)
/* unimplemented */ const char *
entropy(void)
{
return "";
}
#endif #endif

Loading…
Cancel
Save