o Reorder some headers and use STDC_HEADERS define properly

o Update copyright year
This commit is contained in:
Todd C. Miller
2001-12-14 19:52:47 +00:00
parent 38a8900974
commit 46dd419cd9
7 changed files with 112 additions and 89 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999 Todd C. Miller <Todd.Miller@courtesan.com>
* Copyright (c) 1999, 2001 Todd C. Miller <Todd.Miller@courtesan.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -34,23 +34,23 @@
#include "config.h"
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
#include <fcntl.h>
#include <time.h>
#include <sys/types.h>
#include <sys/param.h>
#ifdef HAVE_FLOCK
#include <sys/file.h>
# include <sys/file.h>
#endif /* HAVE_FLOCK */
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
#include <fcntl.h>
#include <time.h>
#ifdef HAVE_UTIME
# ifdef HAVE_UTIME_H
# include <utime.h>
# endif /* HAVE_UTIME_H */
#else
# include "emul/utime.h"
# include "emul/utime.h"
#endif /* HAVE_UTIME */
#include "sudo.h"