summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-02-25 13:18:32 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-02-25 13:18:32 +0000
commit8defd3fad3bab9917fba02d20ab37a3dcd78aa31 (patch)
tree63af81255e0fae596223cd205baf3cb565217b8e
parenta880cb360ac2726e3f0fe848b06259889e080b4b (diff)
declare isc_appctx_t once where it is used
Should fix typedef redefinition build error on gcc3 reported by aoyama@. ok florian@
-rw-r--r--usr.bin/dig/lib/isc/include/isc/app.h8
-rw-r--r--usr.bin/dig/lib/isc/include/isc/types.h3
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.bin/dig/lib/isc/include/isc/app.h b/usr.bin/dig/lib/isc/include/isc/app.h
index 78684b7f173..61fc62bea08 100644
--- a/usr.bin/dig/lib/isc/include/isc/app.h
+++ b/usr.bin/dig/lib/isc/include/isc/app.h
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: app.h,v 1.7 2020/02/25 02:35:46 jsg Exp $ */
+/* $Id: app.h,v 1.8 2020/02/25 13:18:31 jsg Exp $ */
#ifndef ISC_APP_H
#define ISC_APP_H 1
@@ -151,10 +151,4 @@ isc_app_shutdown(void);
*\li ISC_R_UNEXPECTED
*/
-/*%<
- * See isc_appctx_create() above.
- */
-typedef isc_result_t
-(*isc_appctxcreatefunc_t)(isc_appctx_t **ctxp);
-
#endif /* ISC_APP_H */
diff --git a/usr.bin/dig/lib/isc/include/isc/types.h b/usr.bin/dig/lib/isc/include/isc/types.h
index 83c69e3ff5c..7feaaa58b50 100644
--- a/usr.bin/dig/lib/isc/include/isc/types.h
+++ b/usr.bin/dig/lib/isc/include/isc/types.h
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: types.h,v 1.3 2020/02/23 11:06:22 jsg Exp $ */
+/* $Id: types.h,v 1.4 2020/02/25 13:18:31 jsg Exp $ */
#ifndef ISC_TYPES_H
#define ISC_TYPES_H 1
@@ -37,7 +37,6 @@
/* Core Types. Alphabetized by defined type. */
-typedef struct isc_appctx isc_appctx_t; /*%< Application context */
typedef struct isc_buffer isc_buffer_t; /*%< Buffer */
typedef ISC_LIST(isc_buffer_t) isc_bufferlist_t; /*%< Buffer List */
typedef struct isc_event isc_event_t; /*%< Event */