summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-27 01:20:46 +0200
committerDan McGee <dan@archlinux.org>2007-04-27 01:20:46 +0200
commit63588aff191f5bf982cc0c8ee8af2b46de084c4b (patch)
tree63e5f1fd1f2bef649c0ffb32efcad5053a3706cd /src/pacman/util.h
parentb39aba99f922d3e4451d6be09ea9201ea20ba102 (diff)
downloadpacman-63588aff191f5bf982cc0c8ee8af2b46de084c4b.tar.gz
pacman-63588aff191f5bf982cc0c8ee8af2b46de084c4b.tar.xz
Remove output.c and output.h
One function was left in this set of files after the earlier cleansing, so I moved yesno to util.c. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 5ab3599e..d6c33ed4 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -1,8 +1,8 @@
/*
* util.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
* it under the terms of the GNU General Public License as published by
* 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
* 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.
*/
#ifndef _PM_UTIL_H
@@ -42,6 +42,7 @@ char *strtrim(char *str);
int reg_match(char *string, char *pattern);
void list_display(const char *title, alpm_list_t *list);
void display_targets(alpm_list_t *syncpkgs);
+int yesno(char *fmt, ...);
#endif /* _PM_UTIL_H */