aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/globals.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-28 02:22:12 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-28 02:22:12 +0200
commite0459b5d02aa16626b2c70e25c9d8d477b2e6684 (patch)
tree8167f9a73876e165af93349579b756b652fa411c /src/mds-kbdc/globals.c
parentmds-kbdc will need multiple .c files + .h files are not required during linking (diff)
downloadmds-e0459b5d02aa16626b2c70e25c9d8d477b2e6684.tar.gz
mds-e0459b5d02aa16626b2c70e25c9d8d477b2e6684.tar.bz2
mds-e0459b5d02aa16626b2c70e25c9d8d477b2e6684.tar.xz
split mds-kbdc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/globals.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mds-kbdc/globals.c b/src/mds-kbdc/globals.c
new file mode 100644
index 0000000..bf2f91d
--- /dev/null
+++ b/src/mds-kbdc/globals.c
@@ -0,0 +1,30 @@
+/**
+ * mds — A micro-display server
+ * Copyright © 2014 Mattias Andrée (maandree@member.fsf.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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+#include "globals.h"
+
+
+/**
+ * The number of elements in `argv`
+ */
+int argc;
+
+/**
+ * The command line arguments
+ */
+char** argv;
+