units.c (8ae87993ed4981c2652e80ab1601cb9b90135097) | units.c (3851177de06e6eab1de91de6ba9b13bcfcc0b55f) |
---|---|
1/* 2 * units.c Copyright (c) 1993 by Adrian Mariano (adrian@cam.cornell.edu) 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 19 unchanged lines hidden (view full) --- 28#include <stdbool.h> 29#include <stdio.h> 30#include <stdlib.h> 31#include <string.h> 32#include <unistd.h> 33 34#include <sys/capsicum.h> 35 | 1/* 2 * units.c Copyright (c) 1993 by Adrian Mariano (adrian@cam.cornell.edu) 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 19 unchanged lines hidden (view full) --- 28#include <stdbool.h> 29#include <stdio.h> 30#include <stdlib.h> 31#include <string.h> 32#include <unistd.h> 33 34#include <sys/capsicum.h> 35 |
36#define _PATH_UNITSLIB "/usr/share/misc/units.lib" | 36#define _PATH_UNITSLIB "/usr/share/misc/definitions.units" |
37 38#ifndef UNITSFILE 39#define UNITSFILE _PATH_UNITSLIB 40#endif 41 42#define MAXUNITS 1000 43#define MAXPREFIXES 100 44 --- 825 unchanged lines hidden --- | 37 38#ifndef UNITSFILE 39#define UNITSFILE _PATH_UNITSLIB 40#endif 41 42#define MAXUNITS 1000 43#define MAXPREFIXES 100 44 --- 825 unchanged lines hidden --- |