summaryrefslogtreecommitdiff
path: root/core.c
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2019-08-06 15:12:23 +0800
committerLu Qiuwen <[email protected]>2019-08-06 15:12:23 +0800
commit32aa3aa3ce5b176ee9cfa0175940f6781ed86db1 (patch)
tree9690cc278227ecb3d7b4f84d1a3db894cc844e43 /core.c
parentc498d300713af5c8077973193da83856fb327191 (diff)
增加自动版本号机制
Diffstat (limited to 'core.c')
-rw-r--r--core.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core.c b/core.c
index 6316c47..24aa6c6 100644
--- a/core.c
+++ b/core.c
@@ -22,10 +22,7 @@
#include "cmsg.h"
#include "stat.h"
-
-#ifndef TFE_KMOD_VERSION
-#define TFE_KMOD_VERSION "Unknown"
-#endif
+#include "version.h"
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Lu Qiuwen");