From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23091 invoked by alias); 27 Sep 2002 21:34:44 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 23080 invoked from network); 27 Sep 2002 21:34:41 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.250) by sources.redhat.com with SMTP; 27 Sep 2002 21:34:41 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.5/8.12.5) with ESMTP id g8RLYeAh000578 for ; Fri, 27 Sep 2002 23:34:40 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6/8.12.6) with ESMTP id g8RLYeEm026899 for ; Fri, 27 Sep 2002 23:34:40 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6/8.12.6/Submit) id g8RLYdca026800; Fri, 27 Sep 2002 23:34:39 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Date: Fri, 27 Sep 2002 14:34:00 -0000 Message-Id: <200209272134.g8RLYdca026800@elgar.kettenis.dyndns.org> From: Mark Kettenis To: gdb-patches@sources.redhat.com Subject: [PATCH] Re-order includes in defs.h X-SW-Source: 2002-09/txt/msg00683.txt.bz2 This re-orders the includes on defs.h a bit to avoid problems with PARAMS getting multiply defined. Checked in on the trunk. If this doesn't lead to any problems, I'll probably move it over to the branch. Mark Index: ChangeLog from Mark Kettenis * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h". Fix some whitespace problems. Index: defs.h =================================================================== RCS file: /cvs/src/src/gdb/defs.h,v retrieving revision 1.97 diff -u -p -r1.97 defs.h --- defs.h 19 Sep 2002 03:58:41 -0000 1.97 +++ defs.h 27 Sep 2002 21:30:38 -0000 @@ -24,15 +24,16 @@ #ifndef DEFS_H #define DEFS_H -#include "config.h" /* Generated by configure */ +#include "config.h" /* Generated by configure. */ + #include -#include /* System call error return status */ +#include /* System call error return status. */ #include #ifdef HAVE_STDDEF_H #include #else -#include /* for size_t */ +#include /* For size_t. */ #endif #ifdef HAVE_UNISTD_H @@ -44,7 +45,7 @@ /* For ``enum target_signal''. */ #include "gdb/signals.h" -/* Just in case they're not defined in stdio.h. */ +/* Just in case they're not defined in stdio.h. */ #ifndef SEEK_SET #define SEEK_SET 0 @@ -58,7 +59,7 @@ #include "ansidecl.h" -#include /* for va_list */ +#include /* For va_list. */ #include "libiberty.h"