浏览代码

Staging: hv: cleanup coding style issues in VersionInfo.h

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 年之前
父节点
当前提交
d41024f70f
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      drivers/staging/hv/VersionInfo.h

+ 6 - 4
drivers/staging/hv/VersionInfo.h

@@ -21,9 +21,11 @@
  *
  */
 
+#ifndef __HV_VERSION_INFO
+#define __HV_VERSION_INFO
 
-#pragma once
+static const char VersionDate[] = __DATE__;
+static const char VersionTime[] = __TIME__;
+static const char VersionDesc[] = "Version 2.0";
 
-static const char VersionDate[]=__DATE__;
-static const char VersionTime[]=__TIME__;
-static const char VersionDesc[]= "Version 2.0";
+#endif