Add an header guard to prevent multiple inclusion
This commit is contained in:
parent
3200bd035a
commit
7640708ca8
4 changed files with 10 additions and 3 deletions
|
@ -6,7 +6,7 @@ AC_INIT([testdisk],[7.2-WIP],[grenier@cgsecurity.org])
|
||||||
AC_LANG(C)
|
AC_LANG(C)
|
||||||
sinclude(acx_pthread.m4)
|
sinclude(acx_pthread.m4)
|
||||||
sinclude(mkdir.m4)
|
sinclude(mkdir.m4)
|
||||||
TESTDISKDATE="September 2020"
|
TESTDISKDATE="October 2020"
|
||||||
AC_SUBST(TESTDISKDATE)
|
AC_SUBST(TESTDISKDATE)
|
||||||
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
|
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#ifndef _FNCTDSK_H
|
||||||
|
#define _FNCTDSK_H
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -210,3 +212,4 @@ void log_disk_list(list_disk_t *list_disk);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* closing brace for extern "C" */
|
} /* closing brace for extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#ifndef _HDACCESS_H
|
||||||
|
#define _HDACCESS_H
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -109,3 +111,4 @@ void generic_clean(disk_t *disk);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* closing brace for extern "C" */
|
} /* closing brace for extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -19,13 +19,14 @@
|
||||||
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#ifndef _NTFS_UTL_H
|
||||||
|
#define _NTFS_UTL_H
|
||||||
|
|
||||||
#ifdef __FRAMAC__
|
#ifdef __FRAMAC__
|
||||||
#undef HAVE_LIBNTFS
|
#undef HAVE_LIBNTFS
|
||||||
#undef HAVE_LIBNTFS3G
|
#undef HAVE_LIBNTFS3G
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _NTFS_UTL_H
|
|
||||||
#define _NTFS_UTL_H
|
|
||||||
#if defined(HAVE_LIBNTFS) || defined(HAVE_LIBNTFS3G)
|
#if defined(HAVE_LIBNTFS) || defined(HAVE_LIBNTFS3G)
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
Loading…
Reference in a new issue