summaryrefslogtreecommitdiff
path: root/alloc-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'alloc-utils.h')
-rw-r--r--alloc-utils.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/alloc-utils.h b/alloc-utils.h
new file mode 100644
index 0000000..a7f3310
--- /dev/null
+++ b/alloc-utils.h
@@ -0,0 +1,35 @@
+/*
+ * nvidia-installer: A tool for installing NVIDIA software packages on
+ * Unix and Linux systems.
+ *
+ * Copyright (C) 2003-2009 NVIDIA Corporation
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ *
+ * alloc-utils.h
+ */
+
+#ifndef __ALLOC_UTILS_H__
+#define __ALLOC_UTILS_H__
+
+void *nvalloc(size_t size);
+void *nvrealloc(void *ptr, size_t size);
+void nvfree(char *s);
+
+#endif /* __ALLOC_UTILS_H__ */