-/* $NetBSD: extern.h,v 1.17 2011/08/26 06:18:17 dholland Exp $ */
+/* $NetBSD: extern.h,v 1.19 2021/05/02 12:50:44 rillig Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
struct gold *g_at(int, int);
struct obj *getobj(const char *, const char *);
int ggetobj(const char *, int (*fn)(struct obj *), int);
-int askchain(struct obj *, char *, int, int (*)(struct obj *),
+int askchain(struct obj *, char *, int, int (*)(struct obj *),
int (*)(struct obj *), int);
void prinv(struct obj *);
int ddoinv(void);
void gettty(void);
void settty(const char *);
void setftty(void);
-void error(const char *, ...) __printflike(1, 2);
+void error(const char *, ...) __printflike(1, 2) __dead;
void getlin(char *);
void getret(void);
void cgetret(const char *);