aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-06-25 14:47:10 +0200
committerMattias Andrée <maandree@operamail.com>2013-06-25 14:47:10 +0200
commit30ccafd9a70498c3e1006bb8d86fd8408a895d49 (patch)
tree9c1767588e510d87e22e0e88f72588f65eb0fc43
parentm (diff)
downloadargparser-30ccafd9a70498c3e1006bb8d86fd8408a895d49.tar.gz
argparser-30ccafd9a70498c3e1006bb8d86fd8408a895d49.tar.bz2
argparser-30ccafd9a70498c3e1006bb8d86fd8408a895d49.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/argparser.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/argparser.c b/src/argparser.c
index f84efe6..aa7bfe1 100644
--- a/src/argparser.c
+++ b/src/argparser.c
@@ -20,17 +20,18 @@
#include <stdio.h>
-
+/* Code style constants */
#define true 1
#define false 0
#define null 0
+/* Constants */
#define ARGUMENTLESS 0
#define ARGUMENTED 1
#define VARIADIC 2
-
-
+/* Prototype for static functions */
+static void _sort(char** list, long count, char** temp);
static void sort(char** list, long count);
static long cmp(char* a, char* b);