r23792: convert Samba4 to GPLv3
[sfrench/samba-autobuild/.git] / source4 / lib / util / idtree.c
index c02a2636a1ae54bd720c0b96951e6a2f5b00958d..1e2cc2976a330a6f371c748e8913e7d7408a7668 100644 (file)
@@ -12,7 +12,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,
@@ -21,8 +21,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/>.
 */
 
 /*
@@ -37,7 +36,9 @@
 
 #define IDR_BITS 5
 #define IDR_FULL 0xfffffffful
+#if 0 /* unused */
 #define TOP_LEVEL_FULL (IDR_FULL >> 30)
+#endif
 #define IDR_SIZE (1 << IDR_BITS)
 #define IDR_MASK ((1 << IDR_BITS)-1)
 #define MAX_ID_SHIFT (sizeof(int)*8 - 1)