[19/27] Add missing copyright information to newlib/libc/time

Message ID 20200205064844.929131-20-keithp@keithp.com
State New
Headers show
Series
  • Add missing copyright information to many files
Related show

Commit Message

Keith Packard Feb. 5, 2020, 6:48 a.m.
Signed-off-by: Keith Packard <keithp@keithp.com>

---
 newlib/libc/time/asctime.c       | 16 ++++++++++++++++
 newlib/libc/time/asctime_r.c     | 16 ++++++++++++++++
 newlib/libc/time/clock.c         | 16 ++++++++++++++++
 newlib/libc/time/ctime.c         | 16 ++++++++++++++++
 newlib/libc/time/ctime_r.c       | 16 ++++++++++++++++
 newlib/libc/time/difftime.c      | 16 ++++++++++++++++
 newlib/libc/time/gettzinfo.c     |  1 +
 newlib/libc/time/gmtime.c        | 16 ++++++++++++++++
 newlib/libc/time/gmtime_r.c      | 16 ++++++++++++++++
 newlib/libc/time/lcltime.c       | 16 ++++++++++++++++
 newlib/libc/time/lcltime_r.c     | 16 ++++++++++++++++
 newlib/libc/time/local.h         |  1 +
 newlib/libc/time/mktime.c        | 16 ++++++++++++++++
 newlib/libc/time/month_lengths.c |  1 +
 newlib/libc/time/time.c          | 16 ++++++++++++++++
 newlib/libc/time/time.tex        | 16 ++++++++++++++++
 newlib/libc/time/tzcalc_limits.c |  1 +
 newlib/libc/time/tzlock.c        |  1 +
 newlib/libc/time/tzset.c         |  1 +
 newlib/libc/time/tzset_r.c       |  4 ++++
 newlib/libc/time/wcsftime.c      |  1 +
 21 files changed, 219 insertions(+)

-- 
2.25.0

Patch

diff --git a/newlib/libc/time/asctime.c b/newlib/libc/time/asctime.c
index 9aa26c3dc..94cef355e 100644
--- a/newlib/libc/time/asctime.c
+++ b/newlib/libc/time/asctime.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+*/
 /*
  * asctime.c
  * Original Author:	G. Haley
diff --git a/newlib/libc/time/asctime_r.c b/newlib/libc/time/asctime_r.c
index 3e0864fc8..fd055cd47 100644
--- a/newlib/libc/time/asctime_r.c
+++ b/newlib/libc/time/asctime_r.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * asctime_r.c
  */
diff --git a/newlib/libc/time/clock.c b/newlib/libc/time/clock.c
index 53ca208ee..8e19a4e24 100644
--- a/newlib/libc/time/clock.c
+++ b/newlib/libc/time/clock.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* NetWare can not use this implementation of clock, since it does not
    have times or any similar function.  It provides its own version of
    clock in clib.nlm.  If we can not use clib.nlm, then we must write
diff --git a/newlib/libc/time/ctime.c b/newlib/libc/time/ctime.c
index 58826a6d8..447675e9a 100644
--- a/newlib/libc/time/ctime.c
+++ b/newlib/libc/time/ctime.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * ctime.c
  * Original Author:	G. Haley
diff --git a/newlib/libc/time/ctime_r.c b/newlib/libc/time/ctime_r.c
index 63aee3890..47a12165d 100644
--- a/newlib/libc/time/ctime_r.c
+++ b/newlib/libc/time/ctime_r.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * ctime_r.c
  */
diff --git a/newlib/libc/time/difftime.c b/newlib/libc/time/difftime.c
index 52ab9d84f..941159b23 100644
--- a/newlib/libc/time/difftime.c
+++ b/newlib/libc/time/difftime.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * difftime.c
  * Original Author:	G. Haley
diff --git a/newlib/libc/time/gettzinfo.c b/newlib/libc/time/gettzinfo.c
index 54c9bc2f0..fbbdd0e84 100644
--- a/newlib/libc/time/gettzinfo.c
+++ b/newlib/libc/time/gettzinfo.c
@@ -1,3 +1,4 @@ 
+/* Copyright (c) 2005 Jeff Johnston <jjohnstn@redhat.com> */
 #include <sys/types.h>
 #include <local.h>
 
diff --git a/newlib/libc/time/gmtime.c b/newlib/libc/time/gmtime.c
index 08e011129..98580821b 100644
--- a/newlib/libc/time/gmtime.c
+++ b/newlib/libc/time/gmtime.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * gmtime.c
  * Original Author:	G. Haley
diff --git a/newlib/libc/time/gmtime_r.c b/newlib/libc/time/gmtime_r.c
index 8bf9ee52d..662dc7f8a 100644
--- a/newlib/libc/time/gmtime_r.c
+++ b/newlib/libc/time/gmtime_r.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * gmtime_r.c
  * Original Author: Adapted from tzcode maintained by Arthur David Olson.
diff --git a/newlib/libc/time/lcltime.c b/newlib/libc/time/lcltime.c
index ded98c57a..792c8c208 100644
--- a/newlib/libc/time/lcltime.c
+++ b/newlib/libc/time/lcltime.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * localtime.c
  */
diff --git a/newlib/libc/time/lcltime_r.c b/newlib/libc/time/lcltime_r.c
index 9b9126bcc..0908c9872 100644
--- a/newlib/libc/time/lcltime_r.c
+++ b/newlib/libc/time/lcltime_r.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * localtime_r.c
  * Original Author: Adapted from tzcode maintained by Arthur David Olson.
diff --git a/newlib/libc/time/local.h b/newlib/libc/time/local.h
index dce51cda2..d17cc0c71 100644
--- a/newlib/libc/time/local.h
+++ b/newlib/libc/time/local.h
@@ -1,3 +1,4 @@ 
+/* Copyright (c) 2002 Jeff Johnston <jjohnstn@redhat.com> */
 /* local header used by libc/time routines */
 #include <_ansi.h>
 #include <time.h>
diff --git a/newlib/libc/time/mktime.c b/newlib/libc/time/mktime.c
index 02032599a..d0da622dd 100644
--- a/newlib/libc/time/mktime.c
+++ b/newlib/libc/time/mktime.c
@@ -1,3 +1,19 @@ 
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * mktime.c
  * Original Author:	G. Haley
diff --git a/newlib/libc/time/month_lengths.c b/newlib/libc/time/month_lengths.c
index 03fac2f07..a4f1a79f1 100644
--- a/newlib/libc/time/month_lengths.c
+++ b/newlib/libc/time/month_lengths.c
@@ -1,3 +1,4 @@ 
+/* Copyright (c) 2002 Arthur David Olson */
 /*
  * month_lengths.c
  *
diff --git a/newlib/libc/time/time.c b/newlib/libc/time/time.c
index 93e061b83..a7601e6d7 100644
--- a/newlib/libc/time/time.c
+++ b/newlib/libc/time/time.c
@@ -1,4 +1,20 @@ 
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
 <<time>>---get current calendar time (as single number)
 
diff --git a/newlib/libc/time/time.tex b/newlib/libc/time/time.tex
index cecd0f5f5..34e722e51 100644
--- a/newlib/libc/time/time.tex
+++ b/newlib/libc/time/time.tex
@@ -1,3 +1,19 @@ 
+#
+#Copyright (c) 1994 Cygnus Support.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+#endorse or promote products derived from this software without
+#specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
 @node Timefns
 @chapter Time Functions (@file{time.h})
 
diff --git a/newlib/libc/time/tzcalc_limits.c b/newlib/libc/time/tzcalc_limits.c
index e0ea6549c..43e81e5fd 100644
--- a/newlib/libc/time/tzcalc_limits.c
+++ b/newlib/libc/time/tzcalc_limits.c
@@ -1,3 +1,4 @@ 
+/* Copyright (c) 2002 Arthur David Olson */
 /*
  * tzcalc_limits.c
  * Original Author: Adapted from tzcode maintained by Arthur David Olson.
diff --git a/newlib/libc/time/tzlock.c b/newlib/libc/time/tzlock.c
index 4a3ee016f..0cc9f0497 100644
--- a/newlib/libc/time/tzlock.c
+++ b/newlib/libc/time/tzlock.c
@@ -1,3 +1,4 @@ 
+/* Copyright (c) 2002 Jeff Johnston <jjohnstn@redhat.com> */
 /*
 FUNCTION
 <<__tz_lock>>, <<__tz_unlock>>---lock time zone global variables
diff --git a/newlib/libc/time/tzset.c b/newlib/libc/time/tzset.c
index 3b4c01c66..a41b1da23 100644
--- a/newlib/libc/time/tzset.c
+++ b/newlib/libc/time/tzset.c
@@ -1,3 +1,4 @@ 
+/* Copyright (c) 2002 Jeff Johnston <jjohnstn@redhat.com> */
 /*
 FUNCTION
 <<tzset>>---set timezone characteristics from TZ environment variable
diff --git a/newlib/libc/time/tzset_r.c b/newlib/libc/time/tzset_r.c
index 9e0cf834b..3a5da1907 100644
--- a/newlib/libc/time/tzset_r.c
+++ b/newlib/libc/time/tzset_r.c
@@ -1,3 +1,7 @@ 
+/*
+Copyright (c) 2002 Jeff Johnston <jjohnstn@redhat.com> 
+local header used by libc/time routines
+ */
 #include <_ansi.h>
 #include <reent.h>
 #include <stdio.h>
diff --git a/newlib/libc/time/wcsftime.c b/newlib/libc/time/wcsftime.c
index 5dde21300..9e871509e 100644
--- a/newlib/libc/time/wcsftime.c
+++ b/newlib/libc/time/wcsftime.c
@@ -1,3 +1,4 @@ 
+/* Copyright (c) 2009 Craig Howland */
 /*
  * wcsftime.c
  * Original Author:	Craig Howland, for Newlib