poldek: poldek/pkgfl.c, poldek/pkgfl.h - cleanup: staticed pkgfl_r...

mis mis at pld-linux.org
Tue Jan 22 12:21:38 CET 2008


Author: mis                          Date: Tue Jan 22 11:21:38 2008 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- cleanup: staticed pkgfl_restore()

---- Files affected:
poldek/poldek:
   pkgfl.c (1.42 -> 1.43) , pkgfl.h (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: poldek/poldek/pkgfl.c
diff -u poldek/poldek/pkgfl.c:1.42 poldek/poldek/pkgfl.c:1.43
--- poldek/poldek/pkgfl.c:1.42	Sun Aug 20 23:13:19 2006
+++ poldek/poldek/pkgfl.c	Tue Jan 22 12:21:33 2008
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2000 - 2002 Pawel A. Gajda <mis at k2.net.pl>
+  Copyright (C) 2000 - 2008 Pawel A. Gajda <mis at pld-linux.org>
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License, version 2 as
@@ -431,9 +431,8 @@
     return bsize;
 }
 
-
-int pkgfl_restore(tn_alloc *na, tn_tuple **fl,
-                  tn_buf_it *nbufi, tn_array *dirs, int include)
+static int pkgfl_restore(tn_alloc *na, tn_tuple **fl,
+                         tn_buf_it *nbufi, tn_array *dirs, int include)
 {
     struct pkgfl_ent **ents;
     int32_t ndirs = 0, n;

================================================================
Index: poldek/poldek/pkgfl.h
diff -u poldek/poldek/pkgfl.h:1.23 poldek/poldek/pkgfl.h:1.24
--- poldek/poldek/pkgfl.h:1.23	Sun Aug 20 20:14:58 2006
+++ poldek/poldek/pkgfl.h	Tue Jan 22 12:21:33 2008
@@ -55,9 +55,6 @@
 int pkgfl_store(tn_tuple *fl, tn_buf *nbuf, tn_array *exclpath,
                 tn_array *depdirs, int which);
 
-int pkgfl_restore(tn_alloc *na, tn_tuple **fl, 
-                  tn_buf_it *nbufi, tn_array *dirs, int include);
-
 int pkgfl_restore_st(tn_alloc *na, tn_tuple **fl, 
                      tn_stream *st, tn_array *dirs, int include);
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgfl.c?r1=1.42&r2=1.43&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgfl.h?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list