r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
[tprouty/samba.git] / source / python / py_tdbpack.c
index 4fa97af8a3cecbc2887a7fe94cba408e37ddbc70..e504f30b863605a571fc8bccdf53bfbf89be003f 100644 (file)
@@ -10,7 +10,7 @@
    
    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; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -19,8 +19,7 @@
    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.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "Python.h"
@@ -441,13 +440,14 @@ static void pack_le_uint32(unsigned long val_long, unsigned char *pbuf)
 }
 
 
+#if 0  /* not used */
 static void pack_bytes(long len, const char *from,
                       unsigned char **pbuf)
 {
        memcpy(*pbuf, from, len);
        (*pbuf) += len;
 }
-
+#endif
 
 
 static PyObject *