summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikolai Kondrashov <spbnick@gmail.com>2011-12-26 19:46:48 +0200
committerNikolai Kondrashov <spbnick@gmail.com>2011-12-26 19:46:48 +0200
commit777f16529c6f10b21e1eebad5b24435f8e860c2a (patch)
tree97c565d8b197c484dcf0f39f9890dfbe971c2556 /lib
parente81f9c654d64ad87231c85cfe2428113f430d9ee (diff)
downloadusbhid-dump-777f16529c6f10b21e1eebad5b24435f8e860c2a.tar.gz
Remove no longer used str.c
Remove str.c, containing only uhd_strisblank function, which is no longer used.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am3
-rw-r--r--lib/str.c39
2 files changed, 1 insertions, 41 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b9ce040..79a18bb 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -23,5 +23,4 @@ libuhd_la_SOURCES = \
dev_list.c \
iface.c \
iface_list.c \
- libusb.c \
- str.c
+ libusb.c
diff --git a/lib/str.c b/lib/str.c
deleted file mode 100644
index a9a1791..0000000
--- a/lib/str.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/** @file
- * @brief usbhid-dump - string utilities
- *
- * Copyright (C) 2010 Nikolai Kondrashov
- *
- * This file is part of usbhid-dump.
- *
- * Usbhid-dump 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
- * (at your option) any later version.
- *
- * Usbhid-dump 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 usbhid-dump; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- * @author Nikolai Kondrashov <spbnick@gmail.com>
- *
- * @(#) $Id$
- */
-
-#include "config.h"
-
-#include "uhd/str.h"
-#include <ctype.h>
-
-bool
-uhd_strisblank(const char *str)
-{
- for (; *str != '\0'; str++)
- if (!isblank(*str))
- return false;
- return true;
-}