changeset 2241:67e3bd5b5544 draft

Add prefix to copyright constant. Thanks to Sebastian Huber.
author Roy Marples <roy@marples.name>
date Fri, 24 Jan 2014 11:00:38 +0000
parents dff627d2c083
children 7d1ae3a89215
files dhcpcd.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dhcpcd.c	Wed Jan 22 10:39:30 2014 +0000
+++ b/dhcpcd.c	Fri Jan 24 11:00:38 2014 +0000
@@ -25,7 +25,7 @@
  * SUCH DAMAGE.
  */
 
-const char copyright[] = "Copyright (c) 2006-2014 Roy Marples";
+const char dhcpcd_copyright[] = "Copyright (c) 2006-2014 Roy Marples";
 
 #include <sys/file.h>
 #include <sys/socket.h>
@@ -1109,7 +1109,7 @@
 			usage();
 			exit(EXIT_SUCCESS);
 		} else if (strcmp(argv[1], "--version") == 0) {
-			printf(""PACKAGE" "VERSION"\n%s\n", copyright);
+			printf(""PACKAGE" "VERSION"\n%s\n", dhcpcd_copyright);
 			exit(EXIT_SUCCESS);
 		}
 	}