aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpio/gpio_private.h
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-03-31 13:54:43 +0300
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-03-31 13:54:43 +0300
commite1f1b3db7cefe66613c4459d338236155e19d59f (patch)
treeef717573162bf6e9be93810cf01413b9cb3b014b /src/gpio/gpio_private.h
parent5c843d16f0e5a0ba526620645711df14291ef758 (diff)
downloadlibrin-e1f1b3db7cefe66613c4459d338236155e19d59f.tar.gz
librin-e1f1b3db7cefe66613c4459d338236155e19d59f.tar.bz2
librin-e1f1b3db7cefe66613c4459d338236155e19d59f.zip
gpio: removed due to being useless.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src/gpio/gpio_private.h')
-rw-r--r--src/gpio/gpio_private.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/gpio/gpio_private.h b/src/gpio/gpio_private.h
deleted file mode 100644
index 4a22570..0000000
--- a/src/gpio/gpio_private.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * The Rin Library – gpio module
- *
- * Copyright (C) 2016 Gediminas Jakutis
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; version 2.1
- * 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#ifndef GPIO_PRIVATE_H_INCLUDED
-#define GPIO_PRIVATE_H_INCLUDED
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <time.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-
-/* TODO: make this platform-dependent */
-#define gpio_count 32
-
-static struct gpio {
- unsigned int num;
- enum rin_gpiotype type;
- int fd;
-} gpio[gpio_count];
-
-static void init(void);
-
-#endif /* GPIO_PRIVATE_H_INCLUDED */