]> git.saurik.com Git - apt.git/blobdiff - apt-inst/filelist.cc
reorder includes: add <config.h> if needed and include it at first
[apt.git] / apt-inst / filelist.cc
index ee8cbbf7385c0c0f6d5c3a41b45ed7ec9fd67597..879c07855b7b2e36754fb3584dba2adcee6696d1 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: filelist.cc,v 1.5 2004/01/07 20:39:37 mdz Exp $
+// $Id: filelist.cc,v 1.4.2.1 2004/01/16 18:58:50 mdz Exp $
 /* ######################################################################
 
    File Listing - Manages a Cache of File -> Package names.
@@ -32,9 +32,7 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "apt-pkg/filelist.h"
-#endif
+#include<config.h>
 
 #include <apt-pkg/filelist.h>
 #include <apt-pkg/mmap.h>
@@ -465,7 +463,7 @@ bool pkgFLCache::AddDiversion(PkgIterator const &Owner,
    // Should never happen
    if ((FromN->Flags & Node::Diversion) != Node::Diversion ||
        (ToN->Flags & Node::Diversion) != Node::Diversion)
-      return _error->Error(_("Internal Error in AddDiversion"));
+      return _error->Error(_("Internal error in AddDiversion"));
 
    // Now, try to reclaim an existing diversion..
    map_ptrloc Diver = 0;