diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-09-05 01:35:35 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-09-05 01:35:35 +0200 |
commit | 733da5c1a2d75894f6493815acf94062aed10622 (patch) | |
tree | 087b2ef3b0cf71ae7d7bba7fb1b9f067a5b0dca7 /eurephiadm | |
parent | b1d370eeccb9a3273e6104271e1d0403fb8d3fda (diff) | |
download | eurephia-733da5c1a2d75894f6493815acf94062aed10622.tar.gz eurephia-733da5c1a2d75894f6493815acf94062aed10622.tar.xz eurephia-733da5c1a2d75894f6493815acf94062aed10622.zip |
Removed more code which is not needed any more
Diffstat (limited to 'eurephiadm')
-rw-r--r-- | eurephiadm/commands/adminaccess.c | 1 | ||||
-rw-r--r-- | eurephiadm/commands/attempts.c | 1 | ||||
-rw-r--r-- | eurephiadm/commands/blacklist.c | 1 | ||||
-rw-r--r-- | eurephiadm/commands/certificates.c | 1 | ||||
-rw-r--r-- | eurephiadm/commands/fwprofiles.c | 1 | ||||
-rw-r--r-- | eurephiadm/commands/lastlog.c | 1 | ||||
-rw-r--r-- | eurephiadm/commands/usercerts.c | 1 | ||||
-rw-r--r-- | eurephiadm/commands/users.c | 1 | ||||
-rw-r--r-- | eurephiadm/field_print.h | 57 |
9 files changed, 0 insertions, 65 deletions
diff --git a/eurephiadm/commands/adminaccess.c b/eurephiadm/commands/adminaccess.c index 1bcb65a..179db97 100644 --- a/eurephiadm/commands/adminaccess.c +++ b/eurephiadm/commands/adminaccess.c @@ -50,7 +50,6 @@ #include <certinfo.h> #include "../argparser.h" -#include "../field_print.h" #include "../xsltparser.h" /** diff --git a/eurephiadm/commands/attempts.c b/eurephiadm/commands/attempts.c index 4f5dd2f..75cbdd6 100644 --- a/eurephiadm/commands/attempts.c +++ b/eurephiadm/commands/attempts.c @@ -48,7 +48,6 @@ #include <eurephia_values.h> #include "../argparser.h" -#include "../field_print.h" #include "../xsltparser.h" /** diff --git a/eurephiadm/commands/blacklist.c b/eurephiadm/commands/blacklist.c index fa8fe00..69d5962 100644 --- a/eurephiadm/commands/blacklist.c +++ b/eurephiadm/commands/blacklist.c @@ -49,7 +49,6 @@ #include <eurephia_values.h> #include "../argparser.h" -#include "../field_print.h" #include "../xsltparser.h" diff --git a/eurephiadm/commands/certificates.c b/eurephiadm/commands/certificates.c index 5170519..5e81e06 100644 --- a/eurephiadm/commands/certificates.c +++ b/eurephiadm/commands/certificates.c @@ -57,7 +57,6 @@ #include "../argparser.h" #include "../get_console_input.h" -#include "../field_print.h" #include "../parse_certificate_files.h" #include "../xsltparser.h" diff --git a/eurephiadm/commands/fwprofiles.c b/eurephiadm/commands/fwprofiles.c index 4c594dc..4eac0f1 100644 --- a/eurephiadm/commands/fwprofiles.c +++ b/eurephiadm/commands/fwprofiles.c @@ -49,7 +49,6 @@ #include <eurephia_values.h> #include "../argparser.h" -#include "../field_print.h" #include "../xsltparser.h" diff --git a/eurephiadm/commands/lastlog.c b/eurephiadm/commands/lastlog.c index e013309..5f2e93c 100644 --- a/eurephiadm/commands/lastlog.c +++ b/eurephiadm/commands/lastlog.c @@ -50,7 +50,6 @@ #include <certinfo.h> #include "../argparser.h" -#include "../field_print.h" #include "../xsltparser.h" diff --git a/eurephiadm/commands/usercerts.c b/eurephiadm/commands/usercerts.c index e9af62c..a86d232 100644 --- a/eurephiadm/commands/usercerts.c +++ b/eurephiadm/commands/usercerts.c @@ -50,7 +50,6 @@ #include <certinfo.h> #include "../argparser.h" -#include "../field_print.h" #include "../xsltparser.h" diff --git a/eurephiadm/commands/users.c b/eurephiadm/commands/users.c index f2f3204..9f4b666 100644 --- a/eurephiadm/commands/users.c +++ b/eurephiadm/commands/users.c @@ -52,7 +52,6 @@ #include "../argparser.h" #include "../get_console_input.h" -#include "../field_print.h" #include "../parse_certificate_files.h" #include "../xsltparser.h" diff --git a/eurephiadm/field_print.h b/eurephiadm/field_print.h deleted file mode 100644 index f52ba86..0000000 --- a/eurephiadm/field_print.h +++ /dev/null @@ -1,57 +0,0 @@ -/* field_print.h -- simple functions for printing label/value pairs - * - * GPLv2 only - Copyright (C) 2008, 2009 - * David Sommerseth <dazo@users.sourceforge.net> - * - * 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; version 2 - * of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -/** - * @file field_print.h - * @author David Sommerseth <dazo@users.sourceforge.net> - * @date 2008-12-20 - * - * @brief Simple functions for printing labels and values on screen. - * - */ - -#include <stdio.h> - -#ifndef FIELD_PRINT_H -#define FIELD_PRINT_H - -/** - * Prints an integer value - * - * @param label Label of the field to be printed - * @param val int value to be printed - */ -inline static void field_print_int(char *label, int val) { - printf("%25.25s: %i\n", label, val); -} - - -/** - * Prints a string value - * - * @param label Label of the field to be printed - * @param val String (char *) value to be printed - */ -inline static void field_print_str(char *label, char *val) { - printf("%25.25s: %s\n", label, (val == NULL ? "-" : val)); -} - -#endif |