[Forensics-changes] [yara] 365/415: Fix header guards to comply with standards
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository yara.
commit ac61dd627ab10f1393c2b15a228134c9dfc5379e
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date: Thu Jan 16 18:07:09 2014 +0100
Fix header guards to comply with standards
---
libyara/arena.h | 4 ++--
libyara/atoms.h | 4 ++--
libyara/compiler.h | 4 ++--
libyara/exec.h | 4 ++--
libyara/exefiles.h | 4 ++--
libyara/filemap.h | 3 +++
libyara/hash.h | 4 ++--
libyara/mem.h | 4 ++--
libyara/parser.h | 4 ++--
libyara/proc.h | 4 ++--
libyara/re.h | 4 ++--
libyara/utils.h | 4 ++--
libyara/yara.h | 4 ++--
13 files changed, 27 insertions(+), 24 deletions(-)
diff --git a/libyara/arena.h b/libyara/arena.h
index d306926..4683ee1 100644
--- a/libyara/arena.h
+++ b/libyara/arena.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _ARENA_H
-#define _ARENA_H
+#ifndef YR_ARENA_H
+#define YR_ARENA_H
#include <stdint.h>
#include <stddef.h>
diff --git a/libyara/atoms.h b/libyara/atoms.h
index c65604f..c30d9f6 100644
--- a/libyara/atoms.h
+++ b/libyara/atoms.h
@@ -15,8 +15,8 @@ limitations under the License.
*/
-#ifndef _ATOMS_H
-#define _ATOMS_H
+#ifndef YR_ATOMS_H
+#define YR_ATOMS_H
#include "re.h"
#include "yara.h"
diff --git a/libyara/compiler.h b/libyara/compiler.h
index 25e3e17..c02d86b 100644
--- a/libyara/compiler.h
+++ b/libyara/compiler.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _COMPILER_H
-#define _COMPILER_H
+#ifndef YR_COMPILER_H
+#define YR_COMPILER_H
#include <stdio.h>
diff --git a/libyara/exec.h b/libyara/exec.h
index f4b10db..25fcde7 100644
--- a/libyara/exec.h
+++ b/libyara/exec.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _EXEC_H
-#define _EXEC_H
+#ifndef YR_EXEC_H
+#define YR_EXEC_H
#include "yara.h"
diff --git a/libyara/exefiles.h b/libyara/exefiles.h
index ccd4144..fc54020 100644
--- a/libyara/exefiles.h
+++ b/libyara/exefiles.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _EXEFILES_H
-#define _EXEFILES_H
+#ifndef YR_EXEFILES_H
+#define YR_EXEFILES_H
int yr_file_is_pe(
uint8_t* buffer,
diff --git a/libyara/filemap.h b/libyara/filemap.h
index ed866eb..30aa471 100755
--- a/libyara/filemap.h
+++ b/libyara/filemap.h
@@ -14,6 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
+#ifndef YR_FILEMAP_H
+#define YR_FILEMAP_H
+
#ifdef WIN32
#include <windows.h>
#define FILE_DESCRIPTOR HANDLE
diff --git a/libyara/hash.h b/libyara/hash.h
index dcbbbe0..5edcce5 100644
--- a/libyara/hash.h
+++ b/libyara/hash.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _HASH_H
-#define _HASH_H
+#ifndef YR_HASH_H
+#define YR_HASH_H
#include "yara.h"
diff --git a/libyara/mem.h b/libyara/mem.h
index a80f53f..9705d3a 100644
--- a/libyara/mem.h
+++ b/libyara/mem.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _MEM_H
-#define _MEM_H
+#ifndef YR_MEM_H
+#define YR_MEM_H
#include <stdio.h>
diff --git a/libyara/parser.h b/libyara/parser.h
index 83537d4..e9adb7c 100644
--- a/libyara/parser.h
+++ b/libyara/parser.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _PARSER_H
-#define _PARSER_H
+#ifndef YR_PARSER_H
+#define YR_PARSER_H
#include "arena.h"
#include "compiler.h"
diff --git a/libyara/proc.h b/libyara/proc.h
index 7a23bde..e66dd0e 100644
--- a/libyara/proc.h
+++ b/libyara/proc.h
@@ -15,8 +15,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _PROC_H
-#define _PROC_H
+#ifndef YR_PROC_H
+#define YR_PROC_H
#include "yara.h"
diff --git a/libyara/re.h b/libyara/re.h
index 2cfbb54..ffc3fd4 100644
--- a/libyara/re.h
+++ b/libyara/re.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _RE_H
-#define _RE_H
+#ifndef YR_RE_H
+#define YR_RE_H
#include "yara.h"
#include "sizedstr.h"
diff --git a/libyara/utils.h b/libyara/utils.h
index 4e24453..9fff3c1 100644
--- a/libyara/utils.h
+++ b/libyara/utils.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _UTILS_H
-#define _UTILS_H
+#ifndef YR_UTILS_H
+#define YR_UTILS_H
size_t xtoi(const char* hexstr);
diff --git a/libyara/yara.h b/libyara/yara.h
index 2f6a6ff..854e576 100644
--- a/libyara/yara.h
+++ b/libyara/yara.h
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef _YARA_H
-#define _YARA_H
+#ifndef YR_YARA_H
+#define YR_YARA_H
#include <stdio.h>
#include <stdint.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list