* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: allow.c,v 1.10 2001-07-09 11:50:30 thib Exp $ */
+ /* $Id: allow.c,v 1.11 2001-09-12 13:50:50 thib Exp $ */
#include "fcrontab.h"
+
#include "allow.h"
int
/* return 1 if user is allowed to use this soft
* otherwise return 0 */
{
- char allow = 0;
- char deny = 0;
+ int allow = 0;
+ int deny = 0;
/* check if user is in passwd file */
if ( ! getpwnam(user) )
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: convert-fcrontab.c,v 1.7 2001-07-09 21:08:15 thib Exp $ */
+ /* $Id: convert-fcrontab.c,v 1.8 2001-09-12 13:50:38 thib Exp $ */
+#include "global.h"
-#include "convert-fcrontab.h"
+/* log.c */
+#include "log.h"
+#include "subs.h"
-char rcs_info[] = "$Id: convert-fcrontab.c,v 1.7 2001-07-09 21:08:15 thib Exp $";
+char rcs_info[] = "$Id: convert-fcrontab.c,v 1.8 2001-09-12 13:50:38 thib Exp $";
void info(void);
void usage(void);
int
main(int argc, char *argv[])
{
- char c;
+ int c;
extern char *optarg;
extern int optind, opterr, optopt;
char *user_to_update = NULL;