Skip to content

Commit

Permalink
Add #include <cstdio> for snprintf [build/include_what_you_use] [4]
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Oct 7, 2024
1 parent 266afd6 commit 24e9fe4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions axi/simlink/src/RogueSideBand.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <stdio.h>
#include <sys/mman.h>
#include <zmq.h>
#include <cstdio>

#include "VhpiGeneric.h"
#include "RogueSideBand.h"
Expand Down
1 change: 1 addition & 0 deletions axi/simlink/src/RogueTcpMemory.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <stdio.h>
#include <sys/mman.h>
#include <zmq.h>
#include <cstdio>

#include "VhpiGeneric.h"
#include "RogueTcpMemory.h"
Expand Down
1 change: 1 addition & 0 deletions axi/simlink/src/RogueTcpStream.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <sys/mman.h>
#include <zmq.h>
#include <errno.h>
#include <cstdio>

#include "VhpiGeneric.h"
#include "RogueTcpStream.h"
Expand Down
1 change: 1 addition & 0 deletions ethernet/EthMacCore/src/send_pause.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/ether.h>
#include <cstdio>

#define MY_DEST_MAC0 0x00
#define MY_DEST_MAC1 0x00
Expand Down

0 comments on commit 24e9fe4

Please sign in to comment.