From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CECD312827 for ; Fri, 9 Jan 2026 15:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767973602; cv=none; b=dfBdFwSs9zb6ujmkbn7rYEKU4mZo0eXz4ORDFIwfRKKBBcPwh60blrQMz5HruAwqXEmD9s5obYHv72bnNOlVai1U/lys4diIOgE+Sj/prgZcKjs62/yW9A6cUpe6r7zzF8CY9sZbNEbxNpETiSogtmjTEawPTnaaohTMLJhHap8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767973602; c=relaxed/simple; bh=LNFbqdf2hNdBcK4AYTjhh84WAMl7Do4lQgmiVKv1Fkw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fYBJVtmTDcJTWkOMIrvSUgZHQP7/2UNIFB85AsZP9mDzxV1MFjGyzrudcmpF9sI1jPvSP7rSxk6Zr5SIQWuGlGeTPCTX/TR3hza4W41OUZarfQ/qFLSPQrqtyixoUNsV9gBNyIZM1iJmxys3S860x5a9QosxNHPhCcjFTh2eDm4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=OKi1iVm4; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="OKi1iVm4" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-477aa91e75dso4569305e9.3 for ; Fri, 09 Jan 2026 07:46:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1767973598; x=1768578398; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=prBancCJyrr76Vmgscx04lCJJfZG5vh928PPT7BCWUk=; b=OKi1iVm4dyX/LRErSuqL7jaYrU0LD3n6lU7ne+uLPgENdOstdozRazQIQyKzhreCwH 0xXeQeVib5wq1hc7cD+HxnTqPq5p52nzcaRyyHTIBp/CB/aFg/4j2XzYnJYrg/rtsJ0i 2x1j0AizyfqYFjik+kXQQF8eLN/c9z7sqW3a5T7Pod66k1rDswRAZZycgdnNLwhOvmHD My80RLRdIdOeth5K/G1lSEqlLhlfNzfLDDo3Yc8gQeEuXm217FT5x4sdWC/QCJG369Jg 14zrTdpW1bOQzktcMbAnMVH56Ek0x0ccaNxVuaXRgW90qch1T7MuGopuhiWJnrJmBJnP 5nQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767973598; x=1768578398; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=prBancCJyrr76Vmgscx04lCJJfZG5vh928PPT7BCWUk=; b=hXu5PvWQlnIwvbvlViWpfDkDXrMLgRw/e7PGYs3Ft1hnMvTxJ2qiAZ8nitKWV7YNV8 zulSlSP+Tvr7OJfG4T/te2TT4zGCdWa2xmjpNBpoaicj7NF+QzpPEzvK3Qr7lyrk1TR2 AfKNTYDq/O3B8C5Rz6vg7ZKj0Qowrqog2uvdsnI/Q3yJD00tJdBt3Kt1E6EYM1u6ghRT MkJTFWxD4o70C3Ei6Na/384tG5yvzvAKxRczkGuXGfrdfYCUMtG/xVm/N2g7spA7YOkA qVX3GqY17RRH5jHg8x9FWyc4+4DzH6cluwRRBk41X51rMOvxnrq9EInGw9FYKvSOIwIB SJhQ== X-Forwarded-Encrypted: i=1; AJvYcCUwHPal3OYNkBtM2fGWE0cNBBWpryQtVopRyzE2lRHzHz81T3NGxPPtmffmiLVtWT0Dmqc8EovKJlJ/iEs=@vger.kernel.org X-Gm-Message-State: AOJu0YztWkVE8dSiFMPzxZ6mo9MIHegrJ6KtORDo+RI0IWWQcnSB3OHb 3B9FdU5oGk58borAI53H4uUYoe7Pp7DoLyG7vXaBfi2UrqMzUttpYdTAAzmOyRBAPAg= X-Gm-Gg: AY/fxX54PGj8Kw0TZObQJ3o04a2t0ERqgr0gfAnFCDIiqsJh6ztZLuwK4cNes8QFpXp CcJ9ybtvqrMWTyhGSfaUBknr7A3PuHEAmwFAfj2qb8y1KYHxlIPBpsgWjq2knQRwt8y1oz9odQZ 3nKY3pQVIWJho3ZGejcTsS5EqWyM7sUQ/bp8gpRiUMEs9pJB5/we5F9OMvhPfZbAus6zDVttCkA 3SLpo4B0MR6aNe9uixQ2al2ejftr3/iibxQfjSwC339oOCASXiFbA/Xz6nq2BFBSUOT/21jGcvi qm/O+m6ST4gM1eZGLXHVA4yGGVEvCBFURPvXlkU4GFR2fPjYqj7whm6U2ea9p9regy/dnYd6zoV q9ummPb/Q6ccmyB5enn2yphot0dSJNBq6/T4OYP+A0USSead7eIvcaKddyj0uL+LQsJzYCW6ffb 2el/SsoBR4WOCtto5KrWIqMuKZah3ELlBNNN3pCquB34GIYRhuNJea/1xW7VCYmi/y5jPoy74A9 8MQdg== X-Google-Smtp-Source: AGHT+IFCpFRLysb2UuU7Ert4ZiASf29rItBcJSWoBRj45/P5Dg23t8tCIWhu31ZzdtL2JuFDaAbXhQ== X-Received: by 2002:a05:600c:4fd2:b0:477:a16e:fec5 with SMTP id 5b1f17b1804b1-47d849aa8bbmr65143155e9.0.1767973598429; Fri, 09 Jan 2026 07:46:38 -0800 (PST) Received: from localhost (dynamic-2a00-1028-83b8-1e7a-3010-3bd6-8521-caf1.ipv6.o2.cz. [2a00:1028:83b8:1e7a:3010:3bd6:8521:caf1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd0e6784sm23156541f8f.19.2026.01.09.07.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 07:46:38 -0800 (PST) From: Petr Tesarik To: Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Petr Tesarik Subject: [PATCH 1/1] powerpc/xmon: Delete unused ansidecl.h Date: Fri, 9 Jan 2026 16:46:36 +0100 Message-ID: <20260109154636.2945330-1-ptesarik@suse.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Delete arch/powerpc/xmon/ansidecl.h. The definitions from this header file are not used. Signed-off-by: Petr Tesarik --- arch/powerpc/xmon/ansidecl.h | 130 ----------------------------------- arch/powerpc/xmon/ppc-dis.c | 1 - 2 files changed, 131 deletions(-) delete mode 100644 arch/powerpc/xmon/ansidecl.h diff --git a/arch/powerpc/xmon/ansidecl.h b/arch/powerpc/xmon/ansidecl.h deleted file mode 100644 index 17a85a52b63a9..0000000000000 --- a/arch/powerpc/xmon/ansidecl.h +++ /dev/null @@ -1,130 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* ANSI and traditional C compatibility macros - Copyright 1991, 1992 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - */ - -/* ANSI and traditional C compatibility macros - - ANSI C is assumed if __STDC__ is #defined. - - Macro ANSI C definition Traditional C definition - ----- ---- - ---------- ----------- - ---------- - PTR `void *' `char *' - LONG_DOUBLE `long double' `double' - VOLATILE `volatile' `' - SIGNED `signed' `' - PTRCONST `void *const' `char *' - ANSI_PROTOTYPES 1 not defined - - CONST is also defined, but is obsolete. Just use const. - - DEFUN (name, arglist, args) - - Defines function NAME. - - ARGLIST lists the arguments, separated by commas and enclosed in - parentheses. ARGLIST becomes the argument list in traditional C. - - ARGS list the arguments with their types. It becomes a prototype in - ANSI C, and the type declarations in traditional C. Arguments should - be separated with `AND'. For functions with a variable number of - arguments, the last thing listed should be `DOTS'. - - DEFUN_VOID (name) - - Defines a function NAME, which takes no arguments. - - obsolete -- EXFUN (name, (prototype)) -- obsolete. - - Replaced by PARAMS. Do not use; will disappear someday soon. - Was used in external function declarations. - In ANSI C it is `NAME PROTOTYPE' (so PROTOTYPE should be enclosed in - parentheses). In traditional C it is `NAME()'. - For a function that takes no arguments, PROTOTYPE should be `(void)'. - - PARAMS ((args)) - - We could use the EXFUN macro to handle prototype declarations, but - the name is misleading and the result is ugly. So we just define a - simple macro to handle the parameter lists, as in: - - static int foo PARAMS ((int, char)); - - This produces: `static int foo();' or `static int foo (int, char);' - - EXFUN would have done it like this: - - static int EXFUN (foo, (int, char)); - - but the function is not external...and it's hard to visually parse - the function name out of the mess. EXFUN should be considered - obsolete; new code should be written to use PARAMS. - - For example: - extern int printf PARAMS ((CONST char *format DOTS)); - int DEFUN(fprintf, (stream, format), - FILE *stream AND CONST char *format DOTS) { ... } - void DEFUN_VOID(abort) { ... } -*/ - -#ifndef _ANSIDECL_H - -#define _ANSIDECL_H 1 - - -/* Every source file includes this file, - so they will all get the switch for lint. */ -/* LINTLIBRARY */ - - -#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) -/* All known AIX compilers implement these things (but don't always - define __STDC__). The RISC/OS MIPS compiler defines these things - in SVR4 mode, but does not define __STDC__. */ - -#define PTR void * -#define PTRCONST void *CONST -#define LONG_DOUBLE long double - -#define AND , -#define NOARGS void -#define CONST const -#define VOLATILE volatile -#define SIGNED signed -#define DOTS , ... - -#define EXFUN(name, proto) name proto -#define DEFUN(name, arglist, args) name(args) -#define DEFUN_VOID(name) name(void) - -#define PROTO(type, name, arglist) type name arglist -#define PARAMS(paramlist) paramlist -#define ANSI_PROTOTYPES 1 - -#else /* Not ANSI C. */ - -#define PTR char * -#define PTRCONST PTR -#define LONG_DOUBLE double - -#define AND ; -#define NOARGS -#define CONST -#ifndef const /* some systems define it in header files for non-ansi mode */ -#define const -#endif -#define VOLATILE -#define SIGNED -#define DOTS - -#define EXFUN(name, proto) name() -#define DEFUN(name, arglist, args) name arglist args; -#define DEFUN_VOID(name) name() -#define PROTO(type, name, arglist) type name () -#define PARAMS(paramlist) () - -#endif /* ANSI C. */ - -#endif /* ansidecl.h */ diff --git a/arch/powerpc/xmon/ppc-dis.c b/arch/powerpc/xmon/ppc-dis.c index af105e1bc3fca..3f2c01c13c661 100644 --- a/arch/powerpc/xmon/ppc-dis.c +++ b/arch/powerpc/xmon/ppc-dis.c @@ -10,7 +10,6 @@ This file is part of GDB, GAS, and the GNU binutils. #include #include #include "nonstdio.h" -#include "ansidecl.h" #include "ppc.h" #include "dis-asm.h" -- 2.52.0