summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/glsl/link_functions.cpp
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-17 13:58:22 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-17 13:58:22 +0000
commit9c5e6654f7fbf2935a87fa3fd8ae47ff1e9a59a0 (patch)
treec90ae6d648f4f56949500d956d67f545612d1220 /dist/Mesa/src/glsl/link_functions.cpp
parentce102378455fdaa6d4037e4c9741d7fea8915117 (diff)
Upate to libGL 7.11.2
Tested by jsg@, matthieu@ and ajacoutot@, ok mattieu@
Diffstat (limited to 'dist/Mesa/src/glsl/link_functions.cpp')
-rw-r--r--dist/Mesa/src/glsl/link_functions.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/dist/Mesa/src/glsl/link_functions.cpp b/dist/Mesa/src/glsl/link_functions.cpp
index c33c52690..d40f771e3 100644
--- a/dist/Mesa/src/glsl/link_functions.cpp
+++ b/dist/Mesa/src/glsl/link_functions.cpp
@@ -21,10 +21,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdarg.h>
-
#include "main/core.h"
#include "glsl_symbol_table.h"
#include "glsl_parser_extras.h"
@@ -95,8 +91,8 @@ public:
if (sig == NULL) {
/* FINISHME: Log the full signature of unresolved function.
*/
- linker_error_printf(this->prog, "unresolved reference to function "
- "`%s'\n", name);
+ linker_error(this->prog, "unresolved reference to function `%s'\n",
+ name);
this->success = false;
return visit_stop;
}