~ubuntu-branches/debian/sid/net-tools/sid

« back to all changes in this revision

Viewing changes to .pc/CVS-lib_sync.patch/lib/util.h

  • Committer: Package Import Robot
  • Author(s): Martín Ferrari
  • Date: 2015-09-07 01:54:07 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150907015407-v2tfsgxayjd3iq4i
Tags: 1.60+git20150829.73cef8a-1
* After 14 years without an upstream release, I am producing a new package
  based on today's upstream repository.
  Closes: #391495, #486448, #323261, #260587, #545328, #511395.
* Remove many patches now merged upstream, delete unmaintainable and
  undocumented local changes, and update the rest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <stddef.h>
2
 
 
3
 
void *xmalloc(size_t sz);
4
 
void *xrealloc(void *p, size_t sz);
5
 
 
6
 
#define new(p) ((p) = xmalloc(sizeof(*(p))))
7
 
 
8
 
 
9
 
int kernel_version(void);
10
 
#define KRELEASE(maj,min,patch) ((maj) * 10000 + (min)*1000 + (patch))
11
 
 
12
 
 
13
 
int nstrcmp(const char *, const char *);
14
 
 
15
 
char *safe_strncpy(char *dst, const char *src, size_t size); 
16