/* -*-c-*-
*
- * $Id: xscsize.c,v 1.4 1999/08/20 07:31:00 mdw Exp $
+ * $Id: xscsize.c,v 1.6 2004/04/08 01:36:29 mdw Exp $
*
* Return X display size to shell script
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: xscsize.c,v $
- * Revision 1.4 1999/08/20 07:31:00 mdw
- * Use new `mdwopt' flags in options table.
- *
- * Revision 1.3 1998/12/11 09:50:05 mdw
- * Minor modifications to work with mLib and mgLib.
- *
- * Revision 1.2 1998/11/21 22:30:22 mdw
- * Support GNU-style long options throughout, and introduce proper help
- * text to all programs. Update manual pages to match.
- *
- * Revision 1.1 1998/11/16 23:00:49 mdw
- * Initial versions.
- *
- */
-
/*----- Header files ------------------------------------------------------*/
#include <stdio.h>
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 --- */