* autotool fixes

* Renamed "download" files to "downloadprog" as it only holds the progress bar
  and to not confuse (myself) with <download.h>
This commit is contained in:
Aaron Griffin 2006-11-14 08:07:57 +00:00
parent 4470e5ce01
commit eb514bee96
3 changed files with 6 additions and 14 deletions

View file

@ -343,7 +343,6 @@ dnl ==========================================================================
AC_OUTPUT([
lib/libalpm/Makefile
lib/libalpm/po/Makefile.in
lib/libftp/Makefile
src/pacman/Makefile
src/pacman/po/Makefile.in
src/util/Makefile

View file

@ -1,5 +1,5 @@
/*
* download.c
* downloadprog.c
*
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
*
@ -35,7 +35,7 @@
#include "util.h"
#include "log.h"
#include "list.h"
#include "download.h"
#include "downloadprog.h"
#include "conf.h"
/* progress bar */

View file

@ -1,5 +1,5 @@
/*
* download.h
* downloadprog.h
*
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
*
@ -18,18 +18,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_DOWNLOAD_H
#define _PM_DOWNLOAD_H
extern char sync_fnm[PM_DLFNM_LEN+1];
extern int offset;
extern struct timeval t0, t;
extern float rate;
extern int xfered1;
extern unsigned int eta_h, eta_m, eta_s;
#ifndef _PM_DOWNLOADPROG_H
#define _PM_DOWNLOADPROG_H
void log_progress(const char *filename, int xfered, int total);
#endif /* _PM_DOWNLOAD_H */
#endif /* _PM_DOWNLOADPROG_H */
/* vim: set ts=2 sw=2 noet: */