diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2020-07-14 21:40:53 +0000 |
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2020-07-14 21:40:53 +0000 |
| commit | cee0d44ab388e12fbd62fdb134d295c58901148a (patch) | |
| tree | fbe464b241337077b941be7126ad3f3f78b19f7f /include/sm/errstring.h | |
| parent | 1c3e417caf2d11608f10043b7e70b6e7ed8711ff (diff) | |
Diffstat (limited to 'include/sm/errstring.h')
| -rw-r--r-- | include/sm/errstring.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/sm/errstring.h b/include/sm/errstring.h index 14c100773202..16d0598a45e6 100644 --- a/include/sm/errstring.h +++ b/include/sm/errstring.h @@ -18,12 +18,12 @@ #if defined(__QNX__) # define E_PSEUDOBASE 512 -#endif /* defined(__QNX__) */ +#endif #include <errno.h> #if NEEDINTERRNO extern int errno; -#endif /* NEEDINTERRNO */ +#endif /* ** These are used in a few cases where we need some special @@ -33,7 +33,7 @@ extern int errno; #ifndef E_PSEUDOBASE # define E_PSEUDOBASE 256 -#endif /* ! E_PSEUDOBASE */ +#endif #define E_SM_OPENTIMEOUT (E_PSEUDOBASE + 0) /* Timeout on file open */ #define E_SM_NOSLINK (E_PSEUDOBASE + 1) /* Symbolic links not allowed */ @@ -88,7 +88,6 @@ extern int errno; #define SMDBE_OLD_VERSION (E_SMDBBASE + 23) #define SMDBE_VERSION_MISMATCH (E_SMDBBASE + 24) -extern const char *sm_errstring __P((int _errno)); - +extern const char *sm_errstring __P((int _errnum)); #endif /* SM_ERRSTRING_H */ |
