Xinqi Bao's Git

entropy: Port to OpenBSD
[slstatus.git] / components / entropy.c
index 2baa8aa..1450b31 100644 (file)
@@ -14,5 +14,9 @@
                       bprintf("%d", num) : NULL;
        }
 #elif defined(__OpenBSD__)
-       /* unimplemented */
+       const char *
+       entropy(void)
+       {
+               return "∞";
+       }
 #endif