]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/version.cc
Merge branch 'debian/sid' into debian/experimental
[apt.git] / apt-pkg / version.cc
index a9d4fb763d12c0fc15e7645b7dfc1217fa17ad4f..29bee46da0b396be0eb88acb5d6561dce7a62c58 100644 (file)
@@ -11,8 +11,8 @@
 #include<config.h>
 
 #include <apt-pkg/version.h>
 #include<config.h>
 
 #include <apt-pkg/version.h>
-#include <apt-pkg/pkgcache.h>
 
 
+#include <string.h>
 #include <stdlib.h>
                                                                        /*}}}*/
     
 #include <stdlib.h>
                                                                        /*}}}*/
     
@@ -23,10 +23,10 @@ unsigned long pkgVersioningSystem::GlobalListLen = 0;
 // pkgVS::pkgVersioningSystem - Constructor                            /*{{{*/
 // ---------------------------------------------------------------------
 /* Link to the global list of versioning systems supported */
 // pkgVS::pkgVersioningSystem - Constructor                            /*{{{*/
 // ---------------------------------------------------------------------
 /* Link to the global list of versioning systems supported */
-pkgVersioningSystem::pkgVersioningSystem()
+pkgVersioningSystem::pkgVersioningSystem() : Label(NULL)
 {
    VSList[GlobalListLen] = this;
 {
    VSList[GlobalListLen] = this;
-   GlobalListLen++;
+   ++GlobalListLen;
 }
                                                                        /*}}}*/
 // pkgVS::GetVS - Find a VS by name                                    /*{{{*/
 }
                                                                        /*}}}*/
 // pkgVS::GetVS - Find a VS by name                                    /*{{{*/