Skip to content

Commit a22ea1e

Browse files
committed
Move kernel major declaration to headers
1 parent 36466ec commit a22ea1e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

USBToolBox/USBToolBox.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,6 @@ OSObject* USBToolBox::fixMapForTahoe(OSObject* object) {
273273
return portsCopy;
274274
}
275275

276-
extern const int version_major;
277-
278-
279276
void USBToolBox::mergeProperties(IORegistryEntry* instance) {
280277
const OSSymbol* portsSymbol = OSSymbol::withCString("ports");
281278

USBToolBox/USBToolBox.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
#define DEBUGLOGPROV(format, args...)
3535
#endif
3636

37+
// Kernel major
38+
extern const int version_major;
39+
3740

3841
class USBToolBox : public IOService {
3942
OSDeclareDefaultStructors(USBToolBox)

0 commit comments

Comments
 (0)