summaryrefslogtreecommitdiffstats
path: root/src/include/k5-err.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/k5-err.h')
-rw-r--r--src/include/k5-err.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/k5-err.h b/src/include/k5-err.h
index 083dee4a2..d92920764 100644
--- a/src/include/k5-err.h
+++ b/src/include/k5-err.h
@@ -61,28 +61,9 @@ void k5_vset_error(struct errinfo *ep, long code, const char *fmt,
#endif
;
-void k5_set_error_fl(struct errinfo *ep, long code, const char *file, int line,
- const char *fmt, ...)
-#if !defined(__cplusplus) && (__GNUC__ > 2)
- __attribute__((__format__(__printf__, 5, 6)))
-#endif
- ;
-
-void k5_vset_error_fl(struct errinfo *ep, long code, const char *file,
- int line, const char *fmt, va_list args)
-#if !defined(__cplusplus) && (__GNUC__ > 2)
- __attribute__((__format__(__printf__, 5, 0)))
-#endif
- ;
-
const char *k5_get_error(struct errinfo *ep, long code);
void k5_free_error(struct errinfo *ep, const char *msg);
void k5_clear_error(struct errinfo *ep);
void k5_set_error_info_callout_fn(const char *(KRB5_CALLCONV *f)(long));
-#ifdef DEBUG_ERROR_LOCATIONS
-#define k5_set_error(ep, code, ...) \
- k5_set_error_fl(ep, code, __FILE__, __LINE__, __VA_ARGS__)
-#endif
-
#endif /* K5_ERR_H */