Include guards

This commit is contained in:
2026-09-30 00:40:25 -07:00
parent a8bea7b62c
commit f6efb12fdb
4 changed files with 11 additions and 3 deletions
+4
View File
@@ -1,3 +1,6 @@
#ifndef CARD_H
#define CARD_H
#define NVIDIA_VEN 0x10DE
#define NVIDIA_RTX3060_DEV 0x2503
@@ -36,3 +39,4 @@ struct card_info {
unsigned short read_pci_id(char *device_path, char *field);
char *read_nvidia_pci_address(char *device_path);
void mmap_bar0(struct card_info *card);
#endif