summaryrefslogtreecommitdiffstats
path: root/vpdopt.h
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-10-29 07:04:19 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-10-29 07:04:19 +0000
commita4a07b0955dfe6d77e046db346b69e48c7d29066 (patch)
tree57a771a5a27a63bf078da41bed6e749029d9ec16 /vpdopt.h
parent3c78c1ef20182ab39bde47677ee615bbbd208837 (diff)
downloadpython-dmidecode-a4a07b0955dfe6d77e046db346b69e48c7d29066.tar.gz
python-dmidecode-a4a07b0955dfe6d77e046db346b69e48c7d29066.tar.xz
python-dmidecode-a4a07b0955dfe6d77e046db346b69e48c7d29066.zip
Upstream.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@77 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'vpdopt.h')
-rw-r--r--vpdopt.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/vpdopt.h b/vpdopt.h
index 378766f..fceb552 100644
--- a/vpdopt.h
+++ b/vpdopt.h
@@ -2,7 +2,7 @@
* Command line handling of vpddecode
* This file is part of the dmidecode project.
*
- * (C) 2005 Jean Delvare <khali@linux-fr.org>
+ * Copyright (C) 2005-2006 Jean Delvare <khali@linux-fr.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
@@ -30,16 +30,16 @@ struct string_keyword
struct opt
{
- const char* devmem;
+ const char *devmem;
unsigned int flags;
const struct string_keyword *string;
};
extern struct opt opt;
-#define FLAG_VERSION (1<<0)
-#define FLAG_HELP (1<<1)
-#define FLAG_DUMP (1<<2)
-#define FLAG_QUIET (1<<3)
+#define FLAG_VERSION (1 << 0)
+#define FLAG_HELP (1 << 1)
+#define FLAG_DUMP (1 << 2)
+#define FLAG_QUIET (1 << 3)
int parse_command_line(int argc, char * const argv[]);
void print_help(void);