summaryrefslogtreecommitdiffstats
path: root/larn
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-26 06:18:16 +0000
committerdholland <dholland@NetBSD.org>2011-08-26 06:18:16 +0000
commit9e7fd816e02e66962d482b02209f112e1d5789fc (patch)
treea17f6ea5c647e0ec62bfe7ecad4192e0335b121b /larn
parent9969175ad6caac230e2fee18f6f64f2be17a1fa6 (diff)
downloadbsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.gz
bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.zst
bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.zip
Use __dead and __printflike instead of __attribute__.
Diffstat (limited to 'larn')
-rw-r--r--larn/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/larn/extern.h b/larn/extern.h
index 88920c09..8b725b7b 100644
--- a/larn/extern.h
+++ b/larn/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.14 2009/10/21 01:07:45 snj Exp $ */
+/* $NetBSD: extern.h,v 1.15 2011/08/26 06:18:17 dholland Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -116,7 +116,7 @@ int ttgetch(void);
void scbr(void);
void sncbr(void);
void newgame(void);
-void lprintf(const char *, ...) __attribute__((__format__(__printf__, 1, 2)));
+void lprintf(const char *, ...) __printflike(1, 2);
void lprint(long);
void lwrite(char *, int);
long lgetc(void);