Skip to content

Conversation

@OlekMazur
Copy link
Contributor

lib/socket.c: In function '_badrandom_from_time':
lib/socket.c:70:13: error: implicit declaration of function 'time' [-Wimplicit-function-declaration]
70 | t = time(NULL);
| ^~~~
lib/socket.c:39:1: note: 'time' is defined in header '<time.h>'; this is probably fixable by adding '#include <time.h>'
38 | #include "nl-aux-core/nl-core.h"
+++ |+#include <time.h>
39 |

lib/socket.c: In function '_badrandom_from_time':
lib/socket.c:70:13: error: implicit declaration of function 'time' [-Wimplicit-function-declaration]
   70 |         t = time(NULL);
      |             ^~~~
lib/socket.c:39:1: note: 'time' is defined in header '<time.h>'; this is probably fixable by adding '#include <time.h>'
   38 | #include "nl-aux-core/nl-core.h"
  +++ |+#include <time.h>
   39 |
thom311 pushed a commit that referenced this pull request Mar 31, 2025
lib/socket.c: In function '_badrandom_from_time':
lib/socket.c:70:13: error: implicit declaration of function 'time' [-Wimplicit-function-declaration]
   70 |         t = time(NULL);
      |             ^~~~
lib/socket.c:39:1: note: 'time' is defined in header '<time.h>'; this is probably fixable by adding '#include <time.h>'
   38 | #include "nl-aux-core/nl-core.h"
  +++ |+#include <time.h>
   39 |

#424
@thom311
Copy link
Owner

thom311 commented Mar 31, 2025

merged. Thank you!

@thom311 thom311 closed this Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants