summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-22 21:53:29 +0000
committerobrien <obrien@FreeBSD.org>2002-03-22 21:53:29 +0000
commitd90536e35b89461c5dbefaae4921fd815b80aaf5 (patch)
treea7704420ac18af12d14349c9bc6bdaf03497c1d5 /lib/libc/stdtime
parent59d20d5aab1a3950631580f447d2067770597d01 (diff)
downloadFreeBSD-src-d90536e35b89461c5dbefaae4921fd815b80aaf5.zip
FreeBSD-src-d90536e35b89461c5dbefaae4921fd815b80aaf5.tar.gz
Fix the style of the SCM ID's.
I believe have made all of libc .c's as consistent as possible.
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r--lib/libc/stdtime/asctime.c4
-rw-r--r--lib/libc/stdtime/difftime.c4
-rw-r--r--lib/libc/stdtime/localtime.c4
-rw-r--r--lib/libc/stdtime/strftime.c13
-rw-r--r--lib/libc/stdtime/strptime.c7
-rw-r--r--lib/libc/stdtime/time32.c6
-rw-r--r--lib/libc/stdtime/timelocal.c5
7 files changed, 18 insertions, 25 deletions
diff --git a/lib/libc/stdtime/asctime.c b/lib/libc/stdtime/asctime.c
index 06df9a7..49cbc1d 100644
--- a/lib/libc/stdtime/asctime.c
+++ b/lib/libc/stdtime/asctime.c
@@ -1,8 +1,6 @@
/*
** This file is in the public domain, so clarified as of
** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov).
-*
-* $FreeBSD$
*/
#ifndef lint
@@ -10,6 +8,8 @@
static char elsieid[] = "@(#)asctime.c 7.7";
#endif /* !defined NOID */
#endif /* !defined lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*LINTLIBRARY*/
diff --git a/lib/libc/stdtime/difftime.c b/lib/libc/stdtime/difftime.c
index 64a5ea2..59368e4 100644
--- a/lib/libc/stdtime/difftime.c
+++ b/lib/libc/stdtime/difftime.c
@@ -1,8 +1,6 @@
/*
** This file is in the public domain, so clarified as of
** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov).
-*
-* $FreeBSD$
*/
#ifndef lint
@@ -10,6 +8,8 @@
static char elsieid[] = "@(#)difftime.c 7.7";
#endif /* !defined NOID */
#endif /* !defined lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*LINTLIBRARY*/
diff --git a/lib/libc/stdtime/localtime.c b/lib/libc/stdtime/localtime.c
index 28a7b68..09cfd3f 100644
--- a/lib/libc/stdtime/localtime.c
+++ b/lib/libc/stdtime/localtime.c
@@ -1,8 +1,6 @@
/*
** This file is in the public domain, so clarified as of
** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov).
-**
-** $FreeBSD$
*/
#ifndef lint
@@ -10,6 +8,8 @@
static char elsieid[] = "@(#)localtime.c 7.57";
#endif /* !defined NOID */
#endif /* !defined lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
** Leap second handling from Bradley White (bww@k.gp.cs.cmu.edu).
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index 72f67d4..29401bb 100644
--- a/lib/libc/stdtime/strftime.c
+++ b/lib/libc/stdtime/strftime.c
@@ -15,11 +15,6 @@
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifdef LIBC_RCS
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
-
#ifndef lint
#ifndef NOID
static const char elsieid[] = "@(#)strftime.c 7.38";
@@ -33,11 +28,11 @@ static const char elsieid[] = "@(#)strftime.c 7.38";
#include "namespace.h"
#include "private.h"
-#ifndef LIBC_SCCS
-#ifndef lint
+#if defined(LIBC_SCCS) && !defined(lint)
static const char sccsid[] = "@(#)strftime.c 5.4 (Berkeley) 3/14/89";
-#endif /* !defined lint */
-#endif /* !defined LIBC_SCCS */
+#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "tzfile.h"
#include <fcntl.h>
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c
index bcda42b..b050f1a 100644
--- a/lib/libc/stdtime/strptime.c
+++ b/lib/libc/stdtime/strptime.c
@@ -51,11 +51,6 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef LIBC_RCS
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
-
#ifndef lint
#ifndef NOID
static char copyright[] =
@@ -63,6 +58,8 @@ static char copyright[] =
static char sccsid[] = "@(#)strptime.c 0.1 (Powerdog) 94/03/27";
#endif /* !defined NOID */
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <time.h>
diff --git a/lib/libc/stdtime/time32.c b/lib/libc/stdtime/time32.c
index 34174c5..9040fdc 100644
--- a/lib/libc/stdtime/time32.c
+++ b/lib/libc/stdtime/time32.c
@@ -9,10 +9,11 @@
*
* Redistribution and use under the terms of the COPYRIGHT file at the
* base of the source tree.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/time.h>
@@ -97,4 +98,3 @@ _int_to_time(int tint)
return(_time32_to_time(tint));
return((time_t)tint);
}
-
diff --git a/lib/libc/stdtime/timelocal.c b/lib/libc/stdtime/timelocal.c
index 48c4b8a..e1fffcb 100644
--- a/lib/libc/stdtime/timelocal.c
+++ b/lib/libc/stdtime/timelocal.c
@@ -23,10 +23,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <stddef.h>
#include "ldpart.h"
OpenPOWER on IntegriCloud