]> granicus.if.org Git - file/commitdiff
put the changes in the original file not the generated file.
authorChristos Zoulas <christos@zoulas.com>
Mon, 1 Dec 2014 13:50:58 +0000 (13:50 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 1 Dec 2014 13:50:58 +0000 (13:50 +0000)
src/magic.h.in

index 3b8bc1e85ccc4de172d1a87f54c1357fc5fafe9f..856478b68f33cfac421590dce0b4e33d83a99a97 100644 (file)
@@ -103,11 +103,10 @@ int magic_check(magic_t, const char *);
 int magic_list(magic_t, const char *);
 int magic_errno(magic_t);
 
-#define MAGIC_PARAM_INDIR_RECURSION    0
-#define MAGIC_PARAM_NAME_RECURSION     1
-#define MAGIC_PARAM_NAME_MAX           2
-#define MAGIC_PARAM_PHNUM_MAX          3
-#define MAGIC_PARAM_SHNUM_MAX          4
+#define MAGIC_PARAM_INDIR_MAX          0
+#define MAGIC_PARAM_NAME_MAX           1
+#define MAGIC_PARAM_ELF_PHNUM_MAX      2
+#define MAGIC_PARAM_ELF_SHNUM_MAX      3
 
 int magic_setparam(magic_t, int, const void *);
 int magic_getparam(magic_t, int, void *);