Module Name: src Committed By: maya Date: Sat Jan 5 10:25:11 UTC 2019
Modified Files: src/sys/fs/hfs: libhfs.h Log Message: Remove bogus code to workaround PCC limitations. This would print stack garbage, which isn't desirable. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/fs/hfs/libhfs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/hfs/libhfs.h diff -u src/sys/fs/hfs/libhfs.h:1.7 src/sys/fs/hfs/libhfs.h:1.8 --- src/sys/fs/hfs/libhfs.h:1.7 Sun Jun 21 14:00:40 2015 +++ src/sys/fs/hfs/libhfs.h Sat Jan 5 10:25:11 2019 @@ -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. @@ -57,15 +57,9 @@ /* 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, ...) \ do{ hfslib_error(format, __FILE__, __LINE__, ##__VA_ARGS__); \ goto error; } while(/*CONSTCOND*/ 0) -#endif #if 0 #pragma mark Constants (on-disk)