~mdw
/
xtoys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make flags be unsigned.
[xtoys]
/
xscsize.c
diff --git
a/xscsize.c
b/xscsize.c
index
f0743c3
..
3d9d7ce
100644
(file)
--- a/
xscsize.c
+++ b/
xscsize.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: xscsize.c,v 1.
4 1999/08/20 07:31:00
mdw Exp $
+ * $Id: xscsize.c,v 1.
5 2002/01/13 14:44:03
mdw Exp $
*
* Return X display size to shell script
*
*
* Return X display size to shell script
*
@@
-29,6
+29,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: xscsize.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: xscsize.c,v $
+ * Revision 1.5 2002/01/13 14:44:03 mdw
+ * Make flags be unsigned.
+ *
* Revision 1.4 1999/08/20 07:31:00 mdw
* Use new `mdwopt' flags in options table.
*
* Revision 1.4 1999/08/20 07:31:00 mdw
* Use new `mdwopt' flags in options table.
*
@@
-73,12
+76,10
@@
int main(int argc, char *argv[])
unsigned f = 0;
unsigned long wd, ht;
unsigned f = 0;
unsigned long wd, ht;
- enum {
- f_sh = 1,
- f_csh = 2,
- f_shell = 3,
- f_export = 4
- };
+#define f_sh 1u
+#define f_csh 2u
+#define f_shell 3u
+#define f_export 4u
/* --- Parse command line options --- */
/* --- Parse command line options --- */