diff options
Diffstat (limited to 'libsbutil/src')
-rw-r--r-- | libsbutil/src/config.c | 19 | ||||
-rw-r--r-- | libsbutil/src/debug.c | 19 | ||||
-rw-r--r-- | libsbutil/src/dynbuf.c | 19 | ||||
-rw-r--r-- | libsbutil/src/file.c | 23 | ||||
-rw-r--r-- | libsbutil/src/simple-regex.c | 21 | ||||
-rw-r--r-- | libsbutil/src/string.c | 19 |
6 files changed, 15 insertions, 105 deletions
diff --git a/libsbutil/src/config.c b/libsbutil/src/config.c index 0778ad3..3f4e6e1 100644 --- a/libsbutil/src/config.c +++ b/libsbutil/src/config.c @@ -3,23 +3,9 @@ * * Miscellaneous macro's and functions. * + * Copyright 1999-2008 Gentoo Foundation * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org> - * - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Header$ + * Licensed under the GPL-2 */ #include <errno.h> @@ -241,4 +227,3 @@ error: return list; } - diff --git a/libsbutil/src/debug.c b/libsbutil/src/debug.c index 7c096d6..1d84b74 100644 --- a/libsbutil/src/debug.c +++ b/libsbutil/src/debug.c @@ -3,23 +3,9 @@ * * Simle debugging/logging macro's and functions. * + * Copyright 1999-2008 Gentoo Foundation * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org> - * - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Header$ + * Licensed under the GPL-2 */ #include <errno.h> @@ -332,4 +318,3 @@ __xstrndup (const char *str, size_t size, const char *file, return new_ptr; } - diff --git a/libsbutil/src/dynbuf.c b/libsbutil/src/dynbuf.c index 29d0dfb..16bbdcc 100644 --- a/libsbutil/src/dynbuf.c +++ b/libsbutil/src/dynbuf.c @@ -3,23 +3,9 @@ * * Dynamic allocated buffers. * + * Copyright 1999-2008 Gentoo Foundation * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org> - * - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Header$ + * Licensed under the GPL-2 */ #include <stdarg.h> @@ -485,4 +471,3 @@ __rc_check_arg_dynbuf (rc_dynbuf_t *dynbuf, const char *file, const char *func, return TRUE; } - diff --git a/libsbutil/src/file.c b/libsbutil/src/file.c index b712d62..c94cae1 100644 --- a/libsbutil/src/file.c +++ b/libsbutil/src/file.c @@ -3,23 +3,9 @@ * * Miscellaneous file related macro's and functions. * + * Copyright 1999-2008 Gentoo Foundation * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org> - * - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Header$ + * Licensed under the GPL-2 */ #include <errno.h> @@ -417,12 +403,12 @@ error: * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation version 2 of the License. - * + * * This program 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 * General Public License for more details. - * + * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. @@ -485,4 +471,3 @@ rc_file_unmap (char *buf, size_t bufsize) { munmap (buf, bufsize); } - diff --git a/libsbutil/src/simple-regex.c b/libsbutil/src/simple-regex.c index 25f9eb9..0e0020b 100644 --- a/libsbutil/src/simple-regex.c +++ b/libsbutil/src/simple-regex.c @@ -3,23 +3,9 @@ * * Simle regex library. * + * Copyright 1999-2008 Gentoo Foundation * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org> - * - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Header$ + * Licensed under the GPL-2 */ /* @@ -50,7 +36,7 @@ * not be consistant with other practices, but I personally do not feel it is * a critical error for these types of functions, and there are debugging you * can enable to verify that there are no such issues. - * + * * - __somefunction() is usually a helper function for somefunction(). I guess * recursion might be an alternative, but I try to avoid it. * @@ -867,4 +853,3 @@ error: return -1; } - diff --git a/libsbutil/src/string.c b/libsbutil/src/string.c index 32b52e0..3e23417 100644 --- a/libsbutil/src/string.c +++ b/libsbutil/src/string.c @@ -3,23 +3,9 @@ * * Miscellaneous macro's and functions. * + * Copyright 1999-2008 Gentoo Foundation * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org> - * - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Header$ + * Licensed under the GPL-2 */ #include <string.h> @@ -105,4 +91,3 @@ rc_basename (const char *path) new_path = strrchr (path, '/'); return new_path ? new_path + 1 : (char *) path; } - |