Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 support deprecated("string") for libpcap
details: https://anonhg.NetBSD.org/src/rev/415dcd713dc5
branches: trunk
changeset: 835663:415dcd713dc5
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 03 15:16:33 2018 +0000
description:
support deprecated("string") for libpcap
diffstat:
usr.bin/xlint/lint1/cgram.y | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 68913599aff5 -r 415dcd713dc5 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Mon Sep 03 15:16:11 2018 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Mon Sep 03 15:16:33 2018 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.97 2018/07/08 17:48:42 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.98 2018/09/03 15:16:33 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.97 2018/07/08 17:48:42 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.98 2018/09/03 15:16:33 christos Exp $");
#endif
#include <stdlib.h>
@@ -523,8 +523,10 @@
| T_AT_BUFFER
;
+
type_attribute_spec:
/* empty */
+ | T_AT_DEPRECATED T_LPARN string T_RPARN
| T_AT_DEPRECATED
| T_AT_ALIGNED T_LPARN constant T_RPARN
| T_AT_BOUNDED T_LPARN type_attribute_bounded_type
Home |
Main Index |
Thread Index |
Old Index