]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/alpha/boot/tools/objstrip.c
arch/alpha/boot/tools/objstrip.c: Mark "usage" static
[karo-tx-linux.git] / arch / alpha / boot / tools / objstrip.c
index ef1838230291190f6fcdb2e151919594b738edc1..367d53d031fc04d51af471273a0256a5a08432c7 100644 (file)
@@ -35,7 +35,7 @@
 const char * prog_name;
 
 
-void
+static void
 usage (void)
 {
     fprintf(stderr,
@@ -93,7 +93,7 @@ main (int argc, char *argv[])
     ofd = 1;
     if (i < argc) {
        ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666);
-       if (fd == -1) {
+       if (ofd == -1) {
            perror("open");
            exit(1);
        }