mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 08:18:51 -05:00
Move log.c/h -> output.c/h to properly reflect what is contained
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
dc05cd107c
commit
f0304168ee
@ -16,7 +16,7 @@ pacman_SOURCES = \
|
|||||||
add.c \
|
add.c \
|
||||||
conf.h conf.c \
|
conf.h conf.c \
|
||||||
deptest.c \
|
deptest.c \
|
||||||
log.h log.c \
|
output.h output.c \
|
||||||
package.h package.c \
|
package.h package.c \
|
||||||
pacman.h pacman.c \
|
pacman.h pacman.c \
|
||||||
query.c \
|
query.c \
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
/* pacman */
|
/* pacman */
|
||||||
#include "pacman.h"
|
#include "pacman.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "callback.h"
|
#include "callback.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
/* pacman */
|
/* pacman */
|
||||||
#include "callback.h"
|
#include "callback.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
|
|
||||||
/* TODO this should not have to be defined twice- trans.c & log.c */
|
/* TODO this should not have to be defined twice- trans.c & log.c */
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include "pacman.h"
|
#include "pacman.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
|
|
||||||
extern config_t *config;
|
extern config_t *config;
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* log.c
|
* output.c
|
||||||
*
|
*
|
||||||
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
|
* Copyright (c) 2002-2007 by Judd Vinet <jvinet@zeroflux.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
* USA.
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -30,7 +30,7 @@
|
|||||||
#include <alpm.h>
|
#include <alpm.h>
|
||||||
|
|
||||||
/* pacman */
|
/* pacman */
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* log.h
|
* output.h
|
||||||
*
|
*
|
||||||
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
|
* Copyright (c) 2002-2007 by Judd Vinet <jvinet@zeroflux.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
@ -15,11 +15,11 @@
|
|||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
* USA.
|
* USA.
|
||||||
*/
|
*/
|
||||||
#ifndef _PM_LOG_H
|
#ifndef _PM_OUTPUT_H
|
||||||
#define _PM_LOG_H
|
#define _PM_OUTPUT_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@ -46,6 +46,6 @@ void pm_fprintf(FILE *file, unsigned short line, char *fmt, ...);
|
|||||||
|
|
||||||
int yesno(char *fmt, ...);
|
int yesno(char *fmt, ...);
|
||||||
|
|
||||||
#endif /* _PM_LOG_H */
|
#endif /* _PM_OUTPUT_H */
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 noet: */
|
/* vim: set ts=2 sw=2 noet: */
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
/* pacman */
|
/* pacman */
|
||||||
#include "package.h"
|
#include "package.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
/* Display the content of an installed package
|
/* Display the content of an installed package
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
/* pacman */
|
/* pacman */
|
||||||
#include "pacman.h"
|
#include "pacman.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "callback.h"
|
#include "callback.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "package.h"
|
#include "package.h"
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
/* pacman */
|
/* pacman */
|
||||||
#include "pacman.h"
|
#include "pacman.h"
|
||||||
#include "package.h"
|
#include "package.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
/* pacman */
|
/* pacman */
|
||||||
#include "pacman.h"
|
#include "pacman.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "callback.h"
|
#include "callback.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
/* pacman */
|
/* pacman */
|
||||||
#include "pacman.h"
|
#include "pacman.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
#include "package.h"
|
#include "package.h"
|
||||||
#include "callback.h"
|
#include "callback.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
/* pacman */
|
/* pacman */
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "log.h"
|
#include "output.h"
|
||||||
|
|
||||||
extern config_t *config;
|
extern config_t *config;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user