]> git.itanic.dy.fi Git - scan-pagemap/blobdiff - utils.h
Show full process argument list instead only executable name
[scan-pagemap] / utils.h
diff --git a/utils.h b/utils.h
index 6c9a272a6b37ff85c4c2e0e70e22e0e7ed18d2a1..50205ddaffdfcededfd4dd26f47c186573a3e9a0 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -1,10 +1,30 @@
+/*
+ * Copyright (C) 2010 Timo Kokkonen <timo.t.kokkonen@iki.fi>
+ *
+ * Some of the code is taken from other GPLv2 sources, such as the
+ * Linux kernel.
+ *
+ * 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.
+ *
+ * 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.
+ */
+
 #ifndef _UTILS_H
 #define _UTILS_H
 
 #include <stddef.h>
 
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#define MIN(a,b) ((a) < (b) ? (a) : (b))
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
 
 /**
  * container_of - cast a member of a structure out to the containing structure