~mdw
/
xtoys
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bf980fa
)
Make flags be unsigned.
author
mdw
<mdw>
Sun, 13 Jan 2002 14:44:59 +0000
(14:44 +0000)
committer
mdw
<mdw>
Sun, 13 Jan 2002 14:44:59 +0000
(14:44 +0000)
xscsize.c
patch
|
blob
|
blame
|
history
xwait.c
patch
|
blob
|
blame
|
history
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 --- */
diff --git
a/xwait.c
b/xwait.c
index
a6b2332
..
44e65ec
100644
(file)
--- a/
xwait.c
+++ b/
xwait.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: xwait.c,v 1.
8 1999/08/20 07:29:55
mdw Exp $
+ * $Id: xwait.c,v 1.
9 2002/01/13 14:44:59
mdw Exp $
*
* Wait until prodded by another X client
*
*
* Wait until prodded by another X client
*
@@
-29,6
+29,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: xwait.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: xwait.c,v $
+ * Revision 1.9 2002/01/13 14:44:59 mdw
+ * Make flags be unsigned.
+ *
* Revision 1.8 1999/08/20 07:29:55 mdw
* New command line syntax, and new atom protocol. Wait for multiple
* properties and listen for multiple (or all) values.
* Revision 1.8 1999/08/20 07:29:55 mdw
* New command line syntax, and new atom protocol. Wait for multiple
* properties and listen for multiple (or all) values.
@@
-181,9
+184,7
@@
int main(int argc, char *argv[])
xwait_atom *xa = 0;
xwait_msg *xm = 0;
xwait_atom *xa = 0;
xwait_msg *xm = 0;
- enum {
- f_force = 1
- };
+#define f_force 1u
/* --- Initialize mLib --- */
/* --- Initialize mLib --- */