diff --git a/checkin_notes b/checkin_notes index 72e02cf6f7..a8ae60bd34 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6189,3 +6189,14 @@ David 5 Aug 2008 ops/*.php inc/*.inc user/*.php + +David 5 Aug 2008 + - added copyright and license info to some C files + + client/ + hostinfo_unix_test.C + sim.h + rrsim_test.C + lib/ + msg_queue.h + procinfo_win.C diff --git a/client/hostinfo_unix_test.C b/client/hostinfo_unix_test.C index 2737a7da5d..d461d3c77b 100644 --- a/client/hostinfo_unix_test.C +++ b/client/hostinfo_unix_test.C @@ -1,3 +1,20 @@ +// This file is part of BOINC. +// http://boinc.berkeley.edu +// Copyright (C) 2008 University of California +// +// BOINC is free software; you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License +// as published by the Free Software Foundation, +// either version 3 of the License, or (at your option) any later version. +// +// BOINC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with BOINC. If not, see . + #include #include diff --git a/client/rrsim_test.C b/client/rrsim_test.C index 1833c4dc9b..318014312a 100644 --- a/client/rrsim_test.C +++ b/client/rrsim_test.C @@ -1,3 +1,20 @@ +// This file is part of BOINC. +// http://boinc.berkeley.edu +// Copyright (C) 2008 University of California +// +// BOINC is free software; you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License +// as published by the Free Software Foundation, +// either version 3 of the License, or (at your option) any later version. +// +// BOINC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with BOINC. If not, see . + // This is a test framework for the rr_simulation() function. // To use it: // - cut and paste the current code from cpu_sched.C (see below) diff --git a/client/sim.h b/client/sim.h index 11789d803c..f8b098ba6f 100644 --- a/client/sim.h +++ b/client/sim.h @@ -1,3 +1,20 @@ +// This file is part of BOINC. +// http://boinc.berkeley.edu +// Copyright (C) 2008 University of California +// +// BOINC is free software; you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License +// as published by the Free Software Foundation, +// either version 3 of the License, or (at your option) any later version. +// +// BOINC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with BOINC. If not, see . +// #include #include "app.h" diff --git a/lib/msg_queue.h b/lib/msg_queue.h index 299b63cbbc..5c54c895d1 100644 --- a/lib/msg_queue.h +++ b/lib/msg_queue.h @@ -1,3 +1,23 @@ +// This file is part of BOINC. +// http://boinc.berkeley.edu +// Copyright (C) 2008 University of California +// +// BOINC is free software; you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License +// as published by the Free Software Foundation, +// either version 3 of the License, or (at your option) any later version. +// +// BOINC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with BOINC. If not, see . + +#ifdef _MSG_QUEUE_ +#define _MSG_QUEUE_ + #ifdef HAVE_SYS_TYPES_H #include #endif @@ -12,3 +32,5 @@ extern int create_message_queue(key_t); extern int receive_message(key_t,void*,size_t,bool); extern int send_message(key_t,void*,size_t,bool); extern int destroy_message_queue(key_t); + +#endif diff --git a/lib/procinfo_win.C b/lib/procinfo_win.C index f4be60b4bb..3567ccccbd 100644 --- a/lib/procinfo_win.C +++ b/lib/procinfo_win.C @@ -1,3 +1,5 @@ +// much of this code is public-domain +// #include "boinc_win.h" #include "error_numbers.h" #include "diagnostics_win.h"