URI: 
       tMake usage() the first declared function - safe - password protected secret keeper
  HTML git clone git://git.z3bra.org/safe.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 0e3bc29152db3cd63639a159ac9b036191d15f26
   DIR parent bb6f5f8dfd93aea029e27e5c38964bbf05c649a2
  HTML Author: z3bra <contactatz3bradotorg>
       Date:   Wed, 22 May 2019 09:34:56 +0200
       
       Make usage() the first declared function
       
       Diffstat:
         M safe.c                              |      14 +++++++-------
       
       1 file changed, 7 insertions(+), 7 deletions(-)
       ---
   DIR diff --git a/safe.c b/safe.c
       t@@ -35,6 +35,13 @@ uint8_t *passphrase;
        uint32_t pplen;
        
        void
       +usage(void)
       +{
       +        fprintf(stderr, "usage: %s [-h] [-s safe] [[-a] entry]\n", argv0);
       +        exit(1);
       +}
       +
       +void
        str2bin(char *s, uint8_t *d, size_t size)
        {
                size_t i;
       t@@ -92,13 +99,6 @@ xwrite(int fd, const void *buf, size_t nbytes)
                return total;
        }
        
       -void
       -usage(void)
       -{
       -        fprintf(stderr, "usage: %s [-h] [-s safe] [[-a] entry]\n", argv0);
       -        exit(1);
       -}
       -
        static int
        readpass(const char *prompt, uint8_t **target, uint32_t *len)
        {