瀏覽代碼

Avoid silly namespace pollution

Eric Andersen 21 年之前
父節點
當前提交
c8c9dd5819
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      libresolv/resolv.c

+ 3 - 5
libresolv/resolv.c

@@ -2,9 +2,7 @@
 /*
  * libresolv for uClibc
  *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 2000,2001 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
+ * Copyright (C) 2002 by Erik Andersen <andersen@uclibc.org>
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Library General Public License as published by
@@ -24,9 +22,9 @@
 
 #include <features.h>
 
-void stub(void)
+void __stub1(void)
 {
 	return;
 }
-link_warning (stub, "the `libresolv' library is a stub.  Do you really need it?")
+link_warning (__stub1, "the `libresolv' library is a stub.  Do you really need it?")