Remove bogus code to workaround PCC limitations.
This would print stack garbage, which isn't desirable.
This commit is contained in:
parent
4f0e04566d
commit
09e87bdbc0
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: libhfs.h,v 1.7 2015/06/21 14:00:40 maxv Exp $ */
|
/* $NetBSD: libhfs.h,v 1.8 2019/01/05 10:25:11 maya Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
|
||||||
@ -57,15 +57,9 @@
|
|||||||
|
|
||||||
|
|
||||||
/* Macros to handle errors in this library. Not recommended outside libhfs.c */
|
/* Macros to handle errors in this library. Not recommended outside libhfs.c */
|
||||||
#ifdef __PCC__
|
|
||||||
#define HFS_LIBERR(format, ...) \
|
|
||||||
do{ hfslib_error(format, __FILE__, __LINE__); \
|
|
||||||
goto error; } while(/*CONSTCOND*/ 0)
|
|
||||||
#else
|
|
||||||
#define HFS_LIBERR(format, ...) \
|
#define HFS_LIBERR(format, ...) \
|
||||||
do{ hfslib_error(format, __FILE__, __LINE__, ##__VA_ARGS__); \
|
do{ hfslib_error(format, __FILE__, __LINE__, ##__VA_ARGS__); \
|
||||||
goto error; } while(/*CONSTCOND*/ 0)
|
goto error; } while(/*CONSTCOND*/ 0)
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
#pragma mark Constants (on-disk)
|
#pragma mark Constants (on-disk)
|
||||||
|
Loading…
Reference in New Issue
Block a user